Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 111.4 kB / 16.41 MB, free: 6.504 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.001645/0.001645, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.607/2.607, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 64.11 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9249/0.9263, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002034/0.9284, allocations: 0.599 MB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.9311, allocations: 1.728 MB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.9311, allocations: 0 / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.9312, allocations: 0 / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.795e-05/0.9313, allocations: 0 / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.9323, allocations: 309.7 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.9325, allocations: 127.9 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.07e-05/0.9326, allocations: 7.969 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.937e-05/0.9327, allocations: 43.97 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.9328, allocations: 63.86 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.9329, allocations: 8 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005987/0.9335, allocations: 331.6 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.9336, allocations: 43.89 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.9336, allocations: 51.77 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.9341, allocations: 267.2 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9341, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9341, allocations: 4 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.9341, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000761/0.9349, allocations: 445.1 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.935, allocations: 8.031 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.935, allocations: 12.75 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.9351, allocations: 176.3 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.9352, allocations: 12.36 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.9352, allocations: 11.94 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.9356, allocations: 219.9 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.9356, allocations: 0 / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.9356, allocations: 8 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.9356, allocations: 0 / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.9359, allocations: 187.7 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.9363, allocations: 286.1 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/0.9371, allocations: 415.7 kB / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.9373, allocations: 177.2 kB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003481/0.9377, allocations: 191.2 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.9377, allocations: 46.5 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.804e-06/0.9377, allocations: 0 / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0007045/0.9384, allocations: 386.4 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.109e-05/0.9385, allocations: 187.9 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.9386, allocations: 89.86 kB / 1.214 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.9386, allocations: 33.83 kB / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.9387, allocations: 84.7 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/0.9388, allocations: 98.56 kB / 1.215 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.9389, allocations: 49.69 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.939, allocations: 322.8 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.9391, allocations: 96.17 kB / 1.215 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.9393, allocations: 137.6 kB / 1.215 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.9397, allocations: 268.9 kB / 1.215 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.9397, allocations: 0 / 1.215 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004576/0.9402, allocations: 293.2 kB / 1.216 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.9402, allocations: 4 kB / 1.216 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9402, allocations: 0 / 1.216 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.9402, allocations: 7.984 kB / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.9405, allocations: 55.91 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.9405, allocations: 4 kB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.9406, allocations: 19.78 kB / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.9406, allocations: 19.98 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001176/0.9408, allocations: 129.8 kB / 1.216 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.9408, allocations: 15.84 kB / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006111/0.9414, allocations: 373.2 kB / 1.216 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.9414, allocations: 0 / 1.216 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9415, allocations: 8 kB / 1.216 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.9416, allocations: 116.9 kB / 1.216 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.9416, allocations: 8 kB / 1.217 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.9417, allocations: 11.94 kB / 1.217 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.9418, allocations: 27.91 kB / 1.217 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006856/0.9424, allocations: 0.7549 MB / 1.217 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006503/0.9431, allocations: 0.8276 MB / 1.218 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001813/0.9433, allocations: 123.8 kB / 1.218 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.9434, allocations: 87.27 kB / 1.218 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of Backend: time 3.81e-07/0.9434, allocations: 0 / 1.218 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.9447, allocations: 318.9 kB / 1.219 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006015/0.9453, allocations: 0.6582 MB / 1.219 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of Templates: time 0.007109/0.9525, allocations: 3.372 MB / 1.223 GB, free: 14.48 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches