Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002424/0.002424, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002656/0.002656, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 177.1 MB / 203.9 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.147/3.147, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 0.8109 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.681e-05/3.932e-05, allocations: 2.312 kB / 0.8109 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002411/0.00245, allocations: 0.8528 MB / 0.8117 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.004005, allocations: 0.9132 MB / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.004077, allocations: 10.09 kB / 0.8126 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.004216, allocations: 15.86 kB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.004364, allocations: 27.73 kB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.004504, allocations: 41.25 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.00472, allocations: 139.5 kB / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.004925, allocations: 33.59 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.005065, allocations: 80.41 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.005213, allocations: 69.12 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.005262, allocations: 16 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/0.00529, allocations: 12 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.005374, allocations: 47.83 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.517e-05/0.005449, allocations: 41.81 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.005729, allocations: 183.3 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.005734, allocations: 0 / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005735, allocations: 3.938 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.00574, allocations: 0 / 0.8133 GB, free: 15.54 MB / 0.7761 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.0009364/0.006677, allocations: 0.5092 MB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.006715, allocations: 8.562 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.328e-05/0.006789, allocations: 26.22 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.00711, allocations: 168.8 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.007125, allocations: 4.375 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.007148, allocations: 8.375 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.007537, allocations: 120.1 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.007547, allocations: 192 / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.007565, allocations: 4.375 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.007574, allocations: 9.516 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.008032, allocations: 117.2 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009674/0.008999, allocations: 453.1 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.009323, allocations: 96.23 kB / 0.8148 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.009564, allocations: 73.7 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.009589, allocations: 3.938 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.009631, allocations: 41.39 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.009632, allocations: 0 / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0008372/0.01047, allocations: 208.9 kB / 0.8151 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.01052, allocations: 51.41 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.01079, allocations: 247.8 kB / 0.8154 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.01081, allocations: 28.23 kB / 0.8154 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.01096, allocations: 182.7 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.01101, allocations: 27.75 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.518e-05/0.01109, allocations: 31.38 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002937/0.01139, allocations: 0.5078 MB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.0116, allocations: 44.47 kB / 0.8162 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.01182, allocations: 62.36 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.01224, allocations: 107.6 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01224, allocations: 0.8438 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005102/0.01275, allocations: 154.8 kB / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.01277, allocations: 11.09 kB / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01277, allocations: 0 / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.01279, allocations: 0 / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.01302, allocations: 27.97 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.01303, allocations: 4 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.01317, allocations: 27.92 kB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.01319, allocations: 0 / 0.8165 GB, free: 12.04 MB / 0.7761 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.0001463/0.01333, allocations: 167 kB / 0.8167 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.01338, allocations: 15.89 kB / 0.8167 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.01345, allocations: 25.45 kB / 0.8167 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01345, allocations: 0 / 0.8167 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01345, allocations: 0 / 0.8167 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01346, allocations: 0 / 0.8167 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.01373, allocations: 193.4 kB / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01373, allocations: 0 / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.01391, allocations: 29.06 kB / 0.8169 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.01392, allocations: 4 kB / 0.8169 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.01394, allocations: 0 / 0.8169 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01394, allocations: 1.125 kB / 0.8169 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01394, allocations: 3.938 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.01458, allocations: 317.7 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.0146, allocations: 11.91 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.01462, allocations: 0 / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.01478, allocations: 20.59 kB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.01486, allocations: 17.64 kB / 0.8173 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.01487, allocations: 4 kB / 0.8173 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002984/0.01517, allocations: 179 kB / 0.8175 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01517, allocations: 0 / 0.8175 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002502/0.01542, allocations: 24.5 kB / 0.8175 GB, free: 11 MB / 0.7761 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.000165/0.01559, allocations: 100.7 kB / 0.8176 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005171/0.01611, allocations: 129.1 kB / 0.8177 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01611, allocations: 1.344 kB / 0.8177 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.01636, allocations: 77.58 kB / 0.8178 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.01674, allocations: 38.48 kB / 0.8178 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/0.01739, allocations: 285.9 kB / 0.8181 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.01753, allocations: 118.2 kB / 0.8182 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.668e-05/0.01761, allocations: 20.45 kB / 0.8182 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.01768, allocations: 12.5 kB / 0.8182 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01768, allocations: 0 / 0.8182 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of Templates: time 0.005894/0.02357, allocations: 2.058 MB / 0.8203 GB, free: 8.156 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.314995902008377]