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.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.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.001522/0.001522, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001675/0.001676, allocations: 192.2 kB / 17.3 MB, free: 5.613 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.371/2.371, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.11 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2516, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6409/0.8926, allocations: 162.4 MB / 1.177 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004411/0.897, allocations: 2.912 MB / 1.18 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000529/0.8976, allocations: 18.34 kB / 1.18 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006573/0.8983, allocations: 209.8 kB / 1.18 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.9002, allocations: 0.7686 MB / 1.181 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.901, allocations: 352.2 kB / 1.182 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.9023, allocations: 0.9297 MB / 1.182 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.9027, allocations: 263.6 kB / 1.183 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006049/0.9033, allocations: 334.2 kB / 1.183 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008544/0.9042, allocations: 284.6 kB / 1.183 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.05e-05/0.9043, allocations: 33.75 kB / 1.183 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.9054, allocations: 0.6473 MB / 1.184 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.9056, allocations: 128.8 kB / 1.184 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.9059, allocations: 214.6 kB / 1.184 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.9069, allocations: 0.7485 MB / 1.185 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.907, allocations: 0 / 1.185 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.342e-06/0.907, allocations: 3.938 kB / 1.185 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.907, allocations: 0 / 1.185 GB, free: 6.051 MB / 0.8887 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.001062/0.908, allocations: 0.7113 MB / 1.186 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.9081, allocations: 9.984 kB / 1.186 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009957/0.9091, allocations: 144.2 kB / 1.186 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/0.9097, allocations: 420.1 kB / 1.186 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.9097, allocations: 14.09 kB / 1.186 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.9098, allocations: 31.94 kB / 1.186 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.9102, allocations: 274.8 kB / 1.187 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.9103, allocations: 0 / 1.187 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.9103, allocations: 19.11 kB / 1.187 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.9103, allocations: 8.75 kB / 1.187 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.9107, allocations: 199.2 kB / 1.187 GB, free: 4.688 MB / 0.8887 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.001647/0.9123, allocations: 1.314 MB / 1.188 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.9127, allocations: 198.9 kB / 1.188 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.9129, allocations: 88.64 kB / 1.188 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.9129, allocations: 1.406 kB / 1.188 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.9129, allocations: 44.84 kB / 1.188 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 1.442e-06/0.9129, allocations: 0 / 1.188 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.0009152/0.9139, allocations: 395.9 kB / 1.189 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.9139, allocations: 58 kB / 1.189 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.9142, allocations: 301.3 kB / 1.189 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.9142, allocations: 32.7 kB / 1.189 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.9143, allocations: 198.2 kB / 1.189 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.9144, allocations: 74.95 kB / 1.189 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.9145, allocations: 40.94 kB / 1.189 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.9146, allocations: 342.8 kB / 1.19 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.9147, allocations: 63.59 kB / 1.19 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.9148, allocations: 115 kB / 1.19 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.9151, allocations: 196.2 kB / 1.19 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9151, allocations: 0 / 1.19 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003368/0.9154, allocations: 251.9 kB / 1.19 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.9155, allocations: 10.84 kB / 1.19 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.9155, allocations: 2.562 kB / 1.19 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9155, allocations: 6.531 kB / 1.19 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.9157, allocations: 46.86 kB / 1.19 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.9157, allocations: 8.984 kB / 1.19 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.916, allocations: 14.38 kB / 1.19 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.916, allocations: 12.94 kB / 1.19 GB, free: 1.621 MB / 0.8887 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.0001414/0.9162, allocations: 158.7 kB / 1.191 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.9162, allocations: 36.25 kB / 1.191 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.295e-05/0.9163, allocations: 38.73 kB / 1.191 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.9163, allocations: 2.875 kB / 1.191 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.9163, allocations: 7.938 kB / 1.191 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.9163, allocations: 0 / 1.191 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.9168, allocations: 410 kB / 1.191 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9168, allocations: 0 / 1.191 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.917, allocations: 30.8 kB / 1.191 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/0.9172, allocations: 42.73 kB / 1.191 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.9172, allocations: 10.78 kB / 1.191 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.9184, allocations: 1.512 MB / 1.193 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9184, allocations: 0 / 1.193 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.9189, allocations: 401.4 kB / 1.193 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.9191, allocations: 130.1 kB / 1.193 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.9191, allocations: 5.625 kB / 1.193 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.9194, allocations: 13.12 kB / 1.193 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.9194, allocations: 9.703 kB / 1.193 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.9194, allocations: 8.625 kB / 1.193 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000202/0.9197, allocations: 224.3 kB / 1.193 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9197, allocations: 0 / 1.193 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004/0.9201, allocations: 103.9 kB / 1.193 GB, free: 14.9 MB / 0.9044 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.0001827/0.9203, allocations: 116.4 kB / 1.194 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.9205, allocations: 170.5 kB / 1.194 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9206, allocations: 0 / 1.194 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.9208, allocations: 200.6 kB / 1.194 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.9217, allocations: 200.3 kB / 1.194 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.9228, allocations: 0.7278 MB / 1.195 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.9232, allocations: 0.7923 MB / 1.196 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001982/0.9234, allocations: 62.19 kB / 1.196 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.9235, allocations: 25.5 kB / 1.196 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.9235, allocations: 3.938 kB / 1.196 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.01011/0.9336, allocations: 6.085 MB / 1.202 GB, free: 10.2 MB / 0.9044 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches