Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001222/0.001222, allocations: 118.5 kB / 16.37 MB, free: 6.004 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.001269/0.001269, allocations: 192.8 kB / 17.31 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.981/1.981, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 61.94 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2258, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5504/0.7762, allocations: 162.4 MB / 1.11 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004215/0.7804, allocations: 2.91 MB / 1.113 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005148/0.781, allocations: 17.53 kB / 1.113 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.7817, allocations: 208.9 kB / 1.113 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.7835, allocations: 0.767 MB / 1.114 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.7843, allocations: 346 kB / 1.114 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.7856, allocations: 0.9381 MB / 1.115 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.786, allocations: 260 kB / 1.115 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.7865, allocations: 339.6 kB / 1.115 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007391/0.7873, allocations: 283.3 kB / 1.116 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.7873, allocations: 33 kB / 1.116 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.7884, allocations: 0.6487 MB / 1.116 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.7886, allocations: 135.5 kB / 1.116 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.7888, allocations: 216.1 kB / 1.117 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.7899, allocations: 0.752 MB / 1.117 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7899, allocations: 0 / 1.117 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.315e-06/0.7899, allocations: 0 / 1.117 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.7899, allocations: 1.094 kB / 1.117 GB, free: 5.668 MB / 0.8575 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.001207/0.7911, allocations: 0.7177 MB / 1.118 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.7912, allocations: 9.625 kB / 1.118 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00099/0.7922, allocations: 136.5 kB / 1.118 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006076/0.7928, allocations: 419.6 kB / 1.119 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.7928, allocations: 17.83 kB / 1.119 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.7929, allocations: 23.92 kB / 1.119 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.7933, allocations: 281.7 kB / 1.119 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.7933, allocations: 5.031 kB / 1.119 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.7934, allocations: 9.594 kB / 1.119 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.7934, allocations: 10.08 kB / 1.119 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.7937, allocations: 198.7 kB / 1.119 GB, free: 20.82 MB / 0.8731 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.001719/0.7955, allocations: 1.317 MB / 1.12 GB, free: 19.99 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.7958, allocations: 188.8 kB / 1.121 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.796, allocations: 91.14 kB / 1.121 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.796, allocations: 4.812 kB / 1.121 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.796, allocations: 37.44 kB / 1.121 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 2.695e-06/0.796, allocations: 3.984 kB / 1.121 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0008933/0.7969, allocations: 403.8 kB / 1.121 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.797, allocations: 54.95 kB / 1.121 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.7973, allocations: 297.4 kB / 1.121 GB, free: 19.58 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.7973, allocations: 30.3 kB / 1.121 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.7975, allocations: 196.3 kB / 1.122 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.7975, allocations: 76.14 kB / 1.122 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.7976, allocations: 40.75 kB / 1.122 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.7977, allocations: 338.7 kB / 1.122 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.7978, allocations: 65.7 kB / 1.122 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.798, allocations: 117.1 kB / 1.122 GB, free: 19 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.7982, allocations: 196.2 kB / 1.122 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7982, allocations: 4.453 kB / 1.122 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003353/0.7985, allocations: 248.3 kB / 1.123 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.7986, allocations: 9.656 kB / 1.123 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7986, allocations: 2.219 kB / 1.123 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.7986, allocations: 2.281 kB / 1.123 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.7988, allocations: 46.77 kB / 1.123 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.7988, allocations: 9.812 kB / 1.123 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.7991, allocations: 15.78 kB / 1.123 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.7991, allocations: 6.438 kB / 1.123 GB, free: 18.87 MB / 0.8731 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.0001435/0.7992, allocations: 165.8 kB / 1.123 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.7993, allocations: 35.83 kB / 1.123 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.877e-05/0.7994, allocations: 37.36 kB / 1.123 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7994, allocations: 2.938 kB / 1.123 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.7994, allocations: 0 / 1.123 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.7994, allocations: 2.891 kB / 1.123 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.7999, allocations: 406.5 kB / 1.123 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7999, allocations: 0 / 1.123 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.8001, allocations: 33.27 kB / 1.123 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.8003, allocations: 52.45 kB / 1.123 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.8003, allocations: 5.094 kB / 1.123 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.8015, allocations: 1.508 MB / 1.125 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8015, allocations: 0 / 1.125 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.802, allocations: 397.8 kB / 1.125 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.8021, allocations: 136.6 kB / 1.125 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.8022, allocations: 8.562 kB / 1.125 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.8024, allocations: 6.203 kB / 1.125 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.8025, allocations: 18.33 kB / 1.125 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.8025, allocations: 8.031 kB / 1.125 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002392/0.8027, allocations: 219.7 kB / 1.126 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8027, allocations: 0 / 1.126 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004053/0.8031, allocations: 106.6 kB / 1.126 GB, free: 16.79 MB / 0.8731 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.000158/0.8033, allocations: 114.2 kB / 1.126 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.8036, allocations: 161.5 kB / 1.126 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8036, allocations: 4.062 kB / 1.126 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.8039, allocations: 198.9 kB / 1.126 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009381/0.8048, allocations: 198.2 kB / 1.126 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.8058, allocations: 0.7288 MB / 1.127 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.8062, allocations: 0.7991 MB / 1.128 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002086/0.8064, allocations: 63.62 kB / 1.128 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.8065, allocations: 26.22 kB / 1.128 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8065, allocations: 0 / 1.128 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.009769/0.8163, allocations: 6.097 MB / 1.134 GB, free: 15.07 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches