Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 112.7 kB / 16.38 MB, free: 6.008 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.001184/0.001184, allocations: 187 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.025/2.025, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 4.127/4.127, allocations: 442.6 MB / 0.7166 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002007, allocations: 64.39 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4609, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.05109/0.5121, allocations: 33.21 MB / 1.059 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02708/0.5392, allocations: 12.31 MB / 1.071 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003275/0.5426, allocations: 51.75 kB / 1.071 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006838/0.5495, allocations: 1.533 MB / 1.073 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007699/0.5572, allocations: 1.74 MB / 1.074 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.6654/1.223, allocations: 1.5 MB / 1.076 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0128/1.235, allocations: 7.786 MB / 1.084 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005418/1.241, allocations: 2.103 MB / 1.086 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007046/1.248, allocations: 1.915 MB / 1.087 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004036/1.252, allocations: 1.429 MB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001072/1.253, allocations: 150.4 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0049/1.258, allocations: 1.35 MB / 1.09 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001407/1.26, allocations: 0.6035 MB / 1.091 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003628/1.263, allocations: 1.2 MB / 1.092 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008512/1.272, allocations: 3.528 MB / 1.096 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/1.272, allocations: 0.75 kB / 1.096 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.304e-06/1.272, allocations: 0 / 1.096 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001693/1.272, allocations: 0 / 1.096 GB, free: 12.18 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.01008/1.282, allocations: 2.813 MB / 1.098 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/1.282, allocations: 9.859 kB / 1.098 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/1.285, allocations: 435.9 kB / 1.099 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007466/1.293, allocations: 2.757 MB / 1.101 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/1.293, allocations: 77.59 kB / 1.101 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006131/1.293, allocations: 112 kB / 1.102 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004304/1.298, allocations: 1.319 MB / 1.103 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/1.298, allocations: 4.875 kB / 1.103 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/1.298, allocations: 43.92 kB / 1.103 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/1.298, allocations: 27.81 kB / 1.103 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002876/1.301, allocations: 1.018 MB / 1.104 GB, free: 9.695 MB / 0.8419 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.01073/1.312, allocations: 6.904 MB / 1.111 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/1.313, allocations: 0.5919 MB / 1.111 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008878/1.314, allocations: 402.4 kB / 1.112 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00423/1.319, allocations: 1.771 MB / 1.113 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000911/1.32, allocations: 361.4 kB / 1.114 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00106/1.321, allocations: 92.86 kB / 1.114 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 5.861e-06/1.321, allocations: 0 / 1.114 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.004515/1.325, allocations: 1.382 MB / 1.115 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/1.325, allocations: 58.64 kB / 1.115 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006526/1.332, allocations: 2.381 MB / 1.118 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002714/1.332, allocations: 40.73 kB / 1.118 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.333, allocations: 0.9842 MB / 1.119 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/1.334, allocations: 169 kB / 1.119 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007236/1.335, allocations: 300 kB / 1.119 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.335, allocations: 356.2 kB / 1.119 GB, free: 316 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/1.336, allocations: 0.4946 MB / 1.12 GB, free: 140 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/1.338, allocations: 0.9926 MB / 1.121 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/1.34, allocations: 1.347 MB / 1.122 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/1.34, allocations: 6.531 kB / 1.122 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005241/1.346, allocations: 1.793 MB / 1.124 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.907e-05/1.346, allocations: 43.23 kB / 1.124 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/1.346, allocations: 10.94 kB / 1.124 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008012/1.347, allocations: 184.2 kB / 1.124 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000982/1.348, allocations: 226.4 kB / 1.124 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008749/1.349, allocations: 0.7647 MB / 1.125 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/1.351, allocations: 78.16 kB / 1.125 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/1.351, allocations: 56.23 kB / 1.125 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002625/1.354, allocations: 1.02 MB / 1.126 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001613/1.355, allocations: 0.9718 MB / 1.127 GB, free: 12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002299/1.358, allocations: 1.306 MB / 1.128 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.127e-05/1.358, allocations: 2.844 kB / 1.128 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.004325/1.362, allocations: 1.796 MB / 1.13 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/1.362, allocations: 36.48 kB / 1.13 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/1.362, allocations: 10.84 kB / 1.13 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/1.362, allocations: 122.8 kB / 1.13 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009077/1.363, allocations: 223.8 kB / 1.13 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/1.366, allocations: 2.322 MB / 1.133 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/1.369, allocations: 82.58 kB / 1.133 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/1.369, allocations: 54.2 kB / 1.133 GB, free: 8.531 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005904/1.37, allocations: 262.2 kB / 1.133 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009407/1.371, allocations: 209.4 kB / 1.133 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/1.374, allocations: 1.045 MB / 1.134 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001958/1.376, allocations: 0.9615 MB / 1.135 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.376, allocations: 0 / 1.135 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/1.377, allocations: 352 kB / 1.136 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009743/1.378, allocations: 18.34 kB / 1.136 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.38, allocations: 38.75 kB / 1.136 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.38, allocations: 53.02 kB / 1.136 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00262/1.383, allocations: 0.8801 MB / 1.137 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003097/1.386, allocations: 1.308 MB / 1.138 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008049/1.386, allocations: 301.8 kB / 1.138 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.004699/1.391, allocations: 1.633 MB / 1.14 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of Backend: time 1.974e-06/1.391, allocations: 0 / 1.14 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.009134/1.4, allocations: 2.321 MB / 1.142 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of SimCode: time 0.01215/1.413, allocations: 4.821 MB / 1.147 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of Templates: time 0.1247/1.537, allocations: 43.2 MB / 1.189 GB, free: 11.13 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches