Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002271/0.002271, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 68.41 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3409, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002813/0.3438, allocations: 0.8869 MB / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3452, allocations: 0.8741 MB / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.3454, allocations: 4 kB / 1.055 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.3455, allocations: 19.8 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.3458, allocations: 31.72 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.346, allocations: 39.95 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.3463, allocations: 135.6 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.3465, allocations: 53.31 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.3467, allocations: 59.77 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.3469, allocations: 87.72 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.3469, allocations: 16 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.158e-05/0.347, allocations: 12 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.44e-05/0.3471, allocations: 43.84 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.228e-05/0.3472, allocations: 63.59 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.3474, allocations: 167.6 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.3474, allocations: 4 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3474, allocations: 0 / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.3474, allocations: 0 / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001114/0.3486, allocations: 0.4962 MB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.536e-05/0.3486, allocations: 16.61 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.996e-05/0.3487, allocations: 38.69 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.3488, allocations: 16.75 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.349, allocations: 228.4 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3491, allocations: 8.375 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.3491, allocations: 8.375 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.3497, allocations: 182 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3497, allocations: 3.938 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.3497, allocations: 4 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3497, allocations: 7.938 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/0.3505, allocations: 219.8 kB / 1.057 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.3516, allocations: 0.5159 MB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.3521, allocations: 142.5 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/0.3526, allocations: 124.7 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3526, allocations: 7.984 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.3526, allocations: 38.69 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.923e-06/0.3526, allocations: 0 / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001254/0.3539, allocations: 357.2 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.354, allocations: 59.34 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3541, allocations: 174.5 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3542, allocations: 25.7 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.3543, allocations: 127.9 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.3543, allocations: 27.56 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.3544, allocations: 25.7 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3545, allocations: 330.8 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.3549, allocations: 103.9 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.3553, allocations: 103.9 kB / 1.059 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/0.356, allocations: 216.6 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.356, allocations: 0 / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008072/0.3568, allocations: 249.9 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3569, allocations: 4.094 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.3569, allocations: 7.938 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3569, allocations: 4 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.3572, allocations: 51.88 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.3572, allocations: 3.938 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.3574, allocations: 31.86 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.3574, allocations: 4 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.3576, allocations: 133.8 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.3576, allocations: 15.81 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.3577, allocations: 21.41 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3577, allocations: 3.984 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.3577, allocations: 3.938 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3577, allocations: 7.938 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.358, allocations: 237.6 kB / 1.06 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.358, allocations: 0 / 1.06 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.3583, allocations: 59.88 kB / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3583, allocations: 0 / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3583, allocations: 0 / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3583, allocations: 0 / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3583, allocations: 3.938 kB / 1.06 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.3591, allocations: 355.1 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.3592, allocations: 85.02 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.3592, allocations: 4 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.3595, allocations: 43.94 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.3595, allocations: 15.92 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3596, allocations: 0 / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001081/0.3597, allocations: 144.1 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3597, allocations: 0 / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002453/0.3599, allocations: 31.84 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001262/0.3612, allocations: 0.8879 MB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007935/0.362, allocations: 227.7 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.362, allocations: 4 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.3624, allocations: 119.8 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.3627, allocations: 31.23 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.3663, allocations: 2.128 MB / 1.064 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3667, allocations: 0.7274 MB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.366e-05/0.3668, allocations: 20.36 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3669, allocations: 47.42 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of SimCode: time 7.22e-07/0.3669, allocations: 3.938 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.3874, allocations: 3.587 MB / 1.068 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.039, allocations: 6.359 kB / 1.068 GB, free: 8.617 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches