Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.00125/0.00125, allocations: 197.9 kB / 16.14 MB, free: 6.641 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 67.88 kB / 0.8685 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.7554, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2015/0.957, allocations: 160.2 MB / 1.173 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005356/0.9624, allocations: 2.95 MB / 1.176 GB, free: 15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008147/0.9632, allocations: 15.88 kB / 1.176 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008739/0.9641, allocations: 183 kB / 1.176 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.9666, allocations: 0.7237 MB / 1.177 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009818/0.9676, allocations: 303.4 kB / 1.177 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.9694, allocations: 1.231 MB / 1.178 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.9699, allocations: 226.1 kB / 1.178 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006837/0.9706, allocations: 282.7 kB / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.9717, allocations: 295.2 kB / 1.179 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.525e-05/0.9718, allocations: 19.94 kB / 1.179 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.9733, allocations: 0.7403 MB / 1.18 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.9735, allocations: 111.7 kB / 1.18 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.9738, allocations: 198.9 kB / 1.18 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.9751, allocations: 0.7751 MB / 1.181 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9751, allocations: 3.938 kB / 1.181 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9751, allocations: 0 / 1.181 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.9751, allocations: 0 / 1.181 GB, free: 9.91 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001403/0.9765, allocations: 0.7028 MB / 1.182 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.9766, allocations: 12.03 kB / 1.182 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.9778, allocations: 143.3 kB / 1.182 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000732/0.9785, allocations: 402.3 kB / 1.182 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.9786, allocations: 20.56 kB / 1.182 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.9786, allocations: 28 kB / 1.182 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/0.9791, allocations: 279.7 kB / 1.182 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.9792, allocations: 0 / 1.182 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.9792, allocations: 11.97 kB / 1.182 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.9792, allocations: 16.56 kB / 1.182 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.9796, allocations: 198.1 kB / 1.183 GB, free: 8.02 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.9816, allocations: 1.315 MB / 1.184 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.982, allocations: 190.8 kB / 1.184 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.9822, allocations: 96.77 kB / 1.184 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.9822, allocations: 0 / 1.184 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.9823, allocations: 38.5 kB / 1.184 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.273e-06/0.9823, allocations: 0 / 1.184 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001044/0.9833, allocations: 401.3 kB / 1.185 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.9834, allocations: 59.34 kB / 1.185 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.9837, allocations: 296.6 kB / 1.185 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.9837, allocations: 33.7 kB / 1.185 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.9839, allocations: 192 kB / 1.185 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.51e-05/0.984, allocations: 70.95 kB / 1.185 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.374e-05/0.9841, allocations: 45.7 kB / 1.185 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9842, allocations: 338.8 kB / 1.186 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.9844, allocations: 67.97 kB / 1.186 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.9845, allocations: 123.4 kB / 1.186 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.9848, allocations: 195.5 kB / 1.186 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9848, allocations: 0 / 1.186 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004084/0.9852, allocations: 253.2 kB / 1.186 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.9852, allocations: 11.94 kB / 1.186 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.9853, allocations: 0 / 1.186 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.9853, allocations: 4 kB / 1.186 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.9855, allocations: 47.92 kB / 1.186 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.9855, allocations: 4 kB / 1.186 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.9858, allocations: 19.83 kB / 1.186 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.9859, allocations: 12.03 kB / 1.186 GB, free: 3.977 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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.0001992/0.9861, allocations: 165.8 kB / 1.186 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.9862, allocations: 31.56 kB / 1.186 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.151e-05/0.9862, allocations: 39.08 kB / 1.186 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.9863, allocations: 4 kB / 1.186 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.9863, allocations: 0 / 1.186 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9863, allocations: 0 / 1.186 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.9868, allocations: 409.2 kB / 1.187 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.9869, allocations: 4 kB / 1.187 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.9871, allocations: 35.98 kB / 1.187 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002438/0.9873, allocations: 48.7 kB / 1.187 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.9873, allocations: 4 kB / 1.187 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.9886, allocations: 1.401 MB / 1.188 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9886, allocations: 0 / 1.188 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005816/0.9892, allocations: 402.1 kB / 1.189 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.9893, allocations: 120.8 kB / 1.189 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.9894, allocations: 19.97 kB / 1.189 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.9897, allocations: 15.97 kB / 1.189 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.9897, allocations: 15.92 kB / 1.189 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.9898, allocations: 8 kB / 1.189 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002623/0.99, allocations: 219 kB / 1.189 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.99, allocations: 3.938 kB / 1.189 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004393/0.9905, allocations: 99.84 kB / 1.189 GB, free: 0.7344 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.9907, allocations: 123.2 kB / 1.189 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.9911, allocations: 169.6 kB / 1.189 GB, free: 448 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.9911, allocations: 4.062 kB / 1.189 GB, free: 444 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.9915, allocations: 198.6 kB / 1.19 GB, free: 232 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.9925, allocations: 190.8 kB / 1.19 GB, free: 48 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.994, allocations: 0.8451 MB / 1.191 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.9944, allocations: 0.7962 MB / 1.191 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003353/0.9948, allocations: 63.25 kB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.9949, allocations: 23.44 kB / 1.192 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.9949, allocations: 0 / 1.192 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of Templates: time 0.014/1.009, allocations: 5.82 MB / 1.197 GB, free: 8.559 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches