Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009846/0.0009847, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009915/0.0009916, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.554/2.554, allocations: 390.9 MB / 0.666 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006826/0.0006827, allocations: 8 kB / 0.8153 GB, free: 13.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.813, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2456/1.059, allocations: 216.7 MB / 1.166 GB, free: 6.258 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01941/1.078, allocations: 14.73 MB / 1.18 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/1.08, allocations: 55.62 kB / 1.18 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002044/1.082, allocations: 0.6598 MB / 1.181 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006106/1.088, allocations: 2.133 MB / 1.183 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/1.092, allocations: 1.258 MB / 1.184 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005342/1.097, allocations: 3.963 MB / 1.188 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/1.099, allocations: 0.9374 MB / 1.189 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005516/1.104, allocations: 1.906 MB / 1.191 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/1.107, allocations: 1.007 MB / 1.192 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/1.107, allocations: 48 kB / 1.192 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005187/1.112, allocations: 1.91 MB / 1.194 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000489/1.113, allocations: 390.5 kB / 1.194 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005617/1.113, allocations: 332.9 kB / 1.195 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/1.116, allocations: 2.023 MB / 1.197 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.116, allocations: 0 / 1.197 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.843e-06/1.116, allocations: 0 / 1.197 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.588e-05/1.116, allocations: 4 kB / 1.197 GB, free: 6.828 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003182/1.119, allocations: 1.733 MB / 1.198 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.12, allocations: 12.03 kB / 1.198 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/1.122, allocations: 0.5327 MB / 1.199 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/1.124, allocations: 1.076 MB / 1.2 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000802/1.125, allocations: 269.8 kB / 1.2 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.125, allocations: 100 kB / 1.2 GB, free: 3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/1.128, allocations: 1.334 MB / 1.202 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.128, allocations: 7.922 kB / 1.202 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-05/1.128, allocations: 44 kB / 1.202 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/1.128, allocations: 41.98 kB / 1.202 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/1.13, allocations: 1.108 MB / 1.203 GB, free: 384 kB / 0.9512 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.00749/1.138, allocations: 6.648 MB / 1.209 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/1.139, allocations: 0.605 MB / 1.21 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006182/1.14, allocations: 289.1 kB / 1.21 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003828/1.14, allocations: 287.6 kB / 1.21 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/1.14, allocations: 34.84 kB / 1.21 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 2.985e-06/1.141, allocations: 0 / 1.21 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002366/1.143, allocations: 0.9022 MB / 1.211 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/1.143, allocations: 55.41 kB / 1.211 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/1.145, allocations: 1.354 MB / 1.213 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/1.145, allocations: 33.7 kB / 1.213 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/1.145, allocations: 0.6795 MB / 1.213 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/1.146, allocations: 130.3 kB / 1.213 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/1.146, allocations: 8 kB / 1.213 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.146, allocations: 334 kB / 1.214 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007934/1.147, allocations: 317.1 kB / 1.214 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.148, allocations: 0.6496 MB / 1.215 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008637/1.148, allocations: 387.7 kB / 1.215 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.148, allocations: 4 kB / 1.215 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002205/1.151, allocations: 1.031 MB / 1.216 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002435/1.151, allocations: 370.5 kB / 1.216 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/1.151, allocations: 8 kB / 1.216 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/1.151, allocations: 16 kB / 1.217 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008261/1.152, allocations: 203.7 kB / 1.217 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/1.152, allocations: 19.92 kB / 1.217 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/1.153, allocations: 230.7 kB / 1.217 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/1.153, allocations: 39.98 kB / 1.217 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/1.153, allocations: 4 kB / 1.217 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001909/1.155, allocations: 0.8858 MB / 1.218 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.155, allocations: 8.781 kB / 1.218 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.155, allocations: 16 kB / 1.218 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/1.156, allocations: 199.7 kB / 1.218 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/1.156, allocations: 27.88 kB / 1.218 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.157, allocations: 199 kB / 1.218 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/1.157, allocations: 35.98 kB / 1.218 GB, free: 15.58 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006153/1.158, allocations: 412.8 kB / 1.219 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/1.158, allocations: 134.3 kB / 1.219 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/1.16, allocations: 0.6953 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/1.16, allocations: 8 kB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.16, allocations: 3.953 kB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.16, allocations: 0 / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/1.163, allocations: 1.945 MB / 1.221 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.163, allocations: 4 kB / 1.221 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/1.164, allocations: 100 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/1.164, allocations: 8 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/1.164, allocations: 16.08 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/1.164, allocations: 4 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.164, allocations: 7.938 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/1.165, allocations: 0.8411 MB / 1.222 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005178/1.166, allocations: 291.2 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/1.166, allocations: 8 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009366/1.167, allocations: 119.7 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/1.167, allocations: 31.86 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/1.167, allocations: 23.98 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001495/1.169, allocations: 0.9278 MB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/1.169, allocations: 0 / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001863/1.17, allocations: 0.577 MB / 1.224 GB, free: 9.227 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006846/1.171, allocations: 282.2 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002803/1.174, allocations: 1.124 MB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.174, allocations: 4.125 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006863/1.175, allocations: 282.2 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/1.177, allocations: 0.6327 MB / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/1.183, allocations: 2.648 MB / 1.229 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008144/1.184, allocations: 1.177 MB / 1.23 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00156/1.186, allocations: 354.7 kB / 1.231 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/1.186, allocations: 95.41 kB / 1.231 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of SimCode: time 1.323e-06/1.186, allocations: 0 / 1.231 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of Templates: time 0.6009/1.787, allocations: 21.37 MB / 1.252 GB, free: 282.6 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches