Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.00115/0.00115, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.809/2.809, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.0004141, allocations: 19.94 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8347/0.8351, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001158/0.8363, allocations: 0.5798 MB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.8375, allocations: 0.8702 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.924e-05/0.8376, allocations: 3.938 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.8377, allocations: 11.92 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.8379, allocations: 23.78 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.838, allocations: 27.97 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.8383, allocations: 127.6 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.8384, allocations: 45.45 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.8386, allocations: 43.84 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.8387, allocations: 75.67 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.8387, allocations: 4 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.8388, allocations: 8 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.8388, allocations: 35.88 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.8389, allocations: 41.64 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.839, allocations: 111.8 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.839, allocations: 0 / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.839, allocations: 0 / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8391, allocations: 0 / 1.024 GB, free: 14.03 MB / 0.7794 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.0009226/0.84, allocations: 0.5123 MB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.84, allocations: 16.5 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.8401, allocations: 19.72 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.8404, allocations: 206.8 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.8404, allocations: 8 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.8404, allocations: 11.95 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.841, allocations: 205.5 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.841, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.841, allocations: 4 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.8411, allocations: 7.984 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007321/0.8418, allocations: 281.2 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009976/0.8428, allocations: 0.5433 MB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.8433, allocations: 178.4 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.8436, allocations: 140.8 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.8437, allocations: 0 / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.8437, allocations: 38.55 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.8437, allocations: 4 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001198/0.8449, allocations: 441.3 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.845, allocations: 55.34 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.8451, allocations: 183.2 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.8452, allocations: 29.7 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/0.8453, allocations: 123.9 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.8453, allocations: 31.55 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.8453, allocations: 0 / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.8454, allocations: 330.8 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.8458, allocations: 131.9 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.8462, allocations: 131.9 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.8465, allocations: 127.9 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8465, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000771/0.8473, allocations: 313.3 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8473, allocations: 9.812 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.8474, allocations: 0 / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.8474, allocations: 4 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.8477, allocations: 56.59 kB / 1.028 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8477, allocations: 4 kB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.8479, allocations: 43.86 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.8479, allocations: 8 kB / 1.028 GB, free: 9.68 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.848, allocations: 137.7 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.8481, allocations: 15.81 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.8482, allocations: 21.39 kB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.8482, allocations: 3.938 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.8482, allocations: 0 / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8482, allocations: 4 kB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.8485, allocations: 245.5 kB / 1.029 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.8485, allocations: 0 / 1.029 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.8487, allocations: 67.94 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.8488, allocations: 4 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.8488, allocations: 0 / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8488, allocations: 0 / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8488, allocations: 0 / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.8496, allocations: 415.1 kB / 1.029 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.8497, allocations: 96.91 kB / 1.029 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.8497, allocations: 0 / 1.029 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.85, allocations: 51.94 kB / 1.029 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.85, allocations: 11.98 kB / 1.029 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.8501, allocations: 0 / 1.029 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001025/0.8502, allocations: 132.4 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8502, allocations: 4 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000262/0.8504, allocations: 23.91 kB / 1.03 GB, free: 8.383 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.8506, allocations: 117.4 kB / 1.03 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008033/0.8514, allocations: 275.7 kB / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8514, allocations: 0 / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.8518, allocations: 147.9 kB / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.8523, allocations: 28.58 kB / 1.03 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.853, allocations: 334.5 kB / 1.03 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.8535, allocations: 0.7278 MB / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.8536, allocations: 20.41 kB / 1.031 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.8536, allocations: 11.44 kB / 1.031 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of SimCode: time 8.81e-07/0.8536, allocations: 0 / 1.031 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.004958/0.8586, allocations: 1.489 MB / 1.033 GB, free: 5.211 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches