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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001274/0.001279, allocations: 107.2 kB / 16.27 MB, free: 5.98 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.001424/0.001424, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.3 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 60.94 kB / 0.8132 GB, free: 32.93 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2903, allocations: 140.4 MB / 0.9502 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6815/0.9718, allocations: 162.4 MB / 1.109 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004809/0.9766, allocations: 2.911 MB / 1.112 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008623/0.9775, allocations: 15.91 kB / 1.112 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008034/0.9784, allocations: 215.7 kB / 1.112 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.981, allocations: 0.7641 MB / 1.113 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.9821, allocations: 345.1 kB / 1.113 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.984, allocations: 0.9358 MB / 1.114 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.9844, allocations: 256.8 kB / 1.114 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007293/0.9852, allocations: 337.9 kB / 1.114 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009976/0.9862, allocations: 286 kB / 1.115 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.153e-05/0.9863, allocations: 36.38 kB / 1.115 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.988, allocations: 0.6453 MB / 1.115 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.9882, allocations: 133.5 kB / 1.116 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.9885, allocations: 217.1 kB / 1.116 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.9901, allocations: 0.7354 MB / 1.116 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.9901, allocations: 0 / 1.116 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.574e-06/0.9901, allocations: 0.75 kB / 1.116 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.9901, allocations: 0 / 1.116 GB, free: 5.059 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.001536/0.9917, allocations: 0.7195 MB / 1.117 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.9917, allocations: 10.56 kB / 1.117 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.9928, allocations: 139.6 kB / 1.117 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.9935, allocations: 398.1 kB / 1.118 GB, free: 20.28 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.9935, allocations: 19.75 kB / 1.118 GB, free: 20.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.9936, allocations: 27.28 kB / 1.118 GB, free: 20.28 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.9941, allocations: 273.1 kB / 1.118 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.9942, allocations: 5.938 kB / 1.118 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.9942, allocations: 9.25 kB / 1.118 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.9942, allocations: 16.34 kB / 1.118 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003704/0.9946, allocations: 197.2 kB / 1.118 GB, free: 20.21 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.002016/0.9966, allocations: 1.327 MB / 1.119 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.997, allocations: 191.6 kB / 1.12 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.9972, allocations: 90.91 kB / 1.12 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.9972, allocations: 3.281 kB / 1.12 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.9972, allocations: 39.78 kB / 1.12 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 2.023e-06/0.9972, allocations: 0 / 1.12 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001009/0.9983, allocations: 402.1 kB / 1.12 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.9983, allocations: 57.03 kB / 1.12 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.9987, allocations: 300.5 kB / 1.121 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.9987, allocations: 32.72 kB / 1.121 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.9988, allocations: 191.7 kB / 1.121 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.9989, allocations: 74.58 kB / 1.121 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/0.999, allocations: 42.45 kB / 1.121 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9992, allocations: 341 kB / 1.121 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.9993, allocations: 64.41 kB / 1.121 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.9994, allocations: 121.5 kB / 1.121 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.9997, allocations: 196.2 kB / 1.122 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9997, allocations: 0 / 1.122 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003814/1, allocations: 244.9 kB / 1.122 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1, allocations: 11.89 kB / 1.122 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1, allocations: 3.797 kB / 1.122 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1, allocations: 2.719 kB / 1.122 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/1, allocations: 46.67 kB / 1.122 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1, allocations: 4.969 kB / 1.122 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/1.001, allocations: 16.16 kB / 1.122 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/1.001, allocations: 9.906 kB / 1.122 GB, free: 18.25 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.0001893/1.001, allocations: 159.3 kB / 1.122 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/1.001, allocations: 35.53 kB / 1.122 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.346e-05/1.001, allocations: 39.19 kB / 1.122 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.001, allocations: 2.438 kB / 1.122 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/1.001, allocations: 2.266 kB / 1.122 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.001, allocations: 5.844 kB / 1.122 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00059/1.002, allocations: 405.5 kB / 1.122 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.002, allocations: 0 / 1.122 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/1.002, allocations: 32.09 kB / 1.123 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/1.002, allocations: 50.36 kB / 1.123 GB, free: 17.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/1.002, allocations: 5.875 kB / 1.123 GB, free: 17.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/1.003, allocations: 1.501 MB / 1.124 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.003, allocations: 0 / 1.124 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/1.004, allocations: 408.3 kB / 1.124 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/1.004, allocations: 128.3 kB / 1.125 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/1.004, allocations: 13.94 kB / 1.125 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/1.005, allocations: 8.922 kB / 1.125 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/1.005, allocations: 16.14 kB / 1.125 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/1.005, allocations: 7.844 kB / 1.125 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002821/1.005, allocations: 219.2 kB / 1.125 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.005, allocations: 0 / 1.125 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004841/1.005, allocations: 107.3 kB / 1.125 GB, free: 16.17 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.0002199/1.006, allocations: 122.7 kB / 1.125 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003486/1.006, allocations: 170.8 kB / 1.125 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.006, allocations: 0.875 kB / 1.125 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003287/1.006, allocations: 195.6 kB / 1.125 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/1.007, allocations: 200.4 kB / 1.126 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/1.009, allocations: 0.7765 MB / 1.126 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/1.009, allocations: 0.7993 MB / 1.127 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.713e-05/1.009, allocations: 27.81 kB / 1.127 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of SimCode: time 3.9e-07/1.009, allocations: 0 / 1.127 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.009871/1.019, allocations: 5.721 MB / 1.133 GB, free: 14.3 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 -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