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.005236/0.005236, allocations: 100.5 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.001141, allocations: 190 kB / 16.67 MB, free: 5.977 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.907/2.907, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 67.89 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3552, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002117/0.3574, allocations: 0.8773 MB / 1.208 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3586, allocations: 0.874 MB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-05/0.3587, allocations: 4 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.3588, allocations: 15.8 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.359, allocations: 23.8 kB / 1.209 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.3592, allocations: 39.94 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.3594, allocations: 143.6 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.3596, allocations: 57.33 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3597, allocations: 59.7 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.3598, allocations: 79.73 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.3599, allocations: 12 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.207e-05/0.3599, allocations: 19.94 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.011e-05/0.36, allocations: 47.83 kB / 1.21 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.3601, allocations: 71.59 kB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.3603, allocations: 167.7 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3603, allocations: 4 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.35e-06/0.3603, allocations: 3.984 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.3603, allocations: 0 / 1.21 GB, free: 7.641 MB / 0.9669 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.001029/0.3614, allocations: 0.5025 MB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.3614, allocations: 12.62 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.3615, allocations: 38.73 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.3615, allocations: 20.66 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.3618, allocations: 224.4 kB / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3618, allocations: 4.375 kB / 1.211 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.3618, allocations: 8.375 kB / 1.211 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.3623, allocations: 180.3 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3623, allocations: 3.938 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.3624, allocations: 4 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3624, allocations: 4 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/0.3631, allocations: 227.7 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.3641, allocations: 0.5042 MB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.3646, allocations: 146.4 kB / 1.212 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.3649, allocations: 116.8 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.3649, allocations: 0 / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.365, allocations: 38.55 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.365, allocations: 0 / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.001158/0.3661, allocations: 365.3 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.3662, allocations: 55.34 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.3664, allocations: 182.4 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3664, allocations: 25.7 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.3665, allocations: 124 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.3665, allocations: 31.55 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.3666, allocations: 22.09 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3667, allocations: 330.8 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.367, allocations: 103.8 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.3674, allocations: 111.8 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/0.368, allocations: 216.6 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.368, allocations: 0 / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006989/0.3687, allocations: 249.2 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3688, allocations: 11.98 kB / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3688, allocations: 0 / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3688, allocations: 4 kB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.3691, allocations: 47.89 kB / 1.214 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.3691, allocations: 3.938 kB / 1.214 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.3693, allocations: 27.95 kB / 1.214 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3693, allocations: 8 kB / 1.214 GB, free: 3.508 MB / 0.9669 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.0001132/0.3694, allocations: 129.8 kB / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.3694, allocations: 15.81 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.3695, allocations: 25.39 kB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3695, allocations: 4 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3695, allocations: 3.938 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3695, allocations: 3.984 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.3698, allocations: 249.5 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3698, allocations: 0 / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.37, allocations: 43.95 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.3701, allocations: 4 kB / 1.214 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3701, allocations: 4 kB / 1.214 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3701, allocations: 288 / 1.214 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3701, allocations: 7.875 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007441/0.3708, allocations: 359.1 kB / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.3709, allocations: 88.92 kB / 1.214 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.3709, allocations: 3.938 kB / 1.214 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.3711, allocations: 35.95 kB / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.3712, allocations: 19.92 kB / 1.215 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.3712, allocations: 0 / 1.215 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001034/0.3713, allocations: 140.1 kB / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3713, allocations: 4 kB / 1.215 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000251/0.3716, allocations: 23.94 kB / 1.215 GB, free: 2.27 MB / 0.9669 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.001103/0.3727, allocations: 0.8917 MB / 1.216 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007249/0.3734, allocations: 231.6 kB / 1.216 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3735, allocations: 0 / 1.216 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.3738, allocations: 111.9 kB / 1.216 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3741, allocations: 34.08 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.3774, allocations: 2.134 MB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3777, allocations: 0.7197 MB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.499e-05/0.3778, allocations: 28.41 kB / 1.219 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.416e-05/0.3779, allocations: 43.42 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3779, allocations: 0 / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.3992, allocations: 3.655 MB / 1.222 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/7.952, allocations: 4 kB / 1.222 GB, free: 10.41 MB / 0.9825 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