Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 119.6 kB / 16.81 MB, free: 5.754 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.001925/0.001925, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.428/1.428, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 60.36 kB / 1.097 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3338, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1933/0.5271, allocations: 161.9 MB / 1.42 GB, free: 10.45 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.00575/0.5329, allocations: 4.568 MB / 1.425 GB, free: 5.871 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.5332, allocations: 11.94 kB / 1.425 GB, free: 5.859 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004633/0.5337, allocations: 127.1 kB / 1.425 GB, free: 5.734 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00087/0.5345, allocations: 346.4 kB / 1.425 GB, free: 5.395 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008167/0.5354, allocations: 283.7 kB / 1.425 GB, free: 5.121 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006979/0.536, allocations: 0.5651 MB / 1.426 GB, free: 4.551 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.5364, allocations: 177.2 kB / 1.426 GB, free: 4.375 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009853/0.5374, allocations: 466.2 kB / 1.427 GB, free: 3.918 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.5377, allocations: 211.2 kB / 1.427 GB, free: 3.711 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.5377, allocations: 16 kB / 1.427 GB, free: 3.695 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.5379, allocations: 83.91 kB / 1.427 GB, free: 3.613 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.538, allocations: 91.72 kB / 1.427 GB, free: 3.523 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.5382, allocations: 115.4 kB / 1.427 GB, free: 3.41 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.5386, allocations: 302.8 kB / 1.427 GB, free: 3.113 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.5386, allocations: 0 / 1.427 GB, free: 3.113 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5386, allocations: 0 / 1.427 GB, free: 3.113 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.5386, allocations: 0 / 1.427 GB, free: 3.113 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008527/0.5394, allocations: 0.5409 MB / 1.428 GB, free: 2.523 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.5395, allocations: 8.625 kB / 1.428 GB, free: 2.516 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.5395, allocations: 31.75 kB / 1.428 GB, free: 2.484 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.54, allocations: 287.6 kB / 1.428 GB, free: 2.164 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.54, allocations: 16 kB / 1.428 GB, free: 2.148 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.54, allocations: 19.94 kB / 1.428 GB, free: 2.129 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.5405, allocations: 265.9 kB / 1.428 GB, free: 1.832 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5405, allocations: 0 / 1.428 GB, free: 1.832 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.5405, allocations: 15.94 kB / 1.428 GB, free: 1.816 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5405, allocations: 4 kB / 1.428 GB, free: 1.812 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.5409, allocations: 143.8 kB / 1.429 GB, free: 1.672 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.5424, allocations: 1.375 MB / 1.43 GB, free: 212 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.5427, allocations: 175.7 kB / 1.43 GB, free: 15.98 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.5429, allocations: 93.06 kB / 1.43 GB, free: 15.87 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/0.5432, allocations: 117 kB / 1.43 GB, free: 15.74 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.5433, allocations: 46.44 kB / 1.43 GB, free: 15.68 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.5433, allocations: 0 / 1.43 GB, free: 15.68 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0006184/0.5439, allocations: 201.3 kB / 1.431 GB, free: 15.48 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.544, allocations: 195.8 kB / 1.431 GB, free: 15.25 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.5443, allocations: 283.6 kB / 1.431 GB, free: 14.96 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.5443, allocations: 29.7 kB / 1.431 GB, free: 14.93 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.5445, allocations: 155.9 kB / 1.431 GB, free: 14.77 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.5445, allocations: 35.69 kB / 1.431 GB, free: 14.74 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.5446, allocations: 33.7 kB / 1.431 GB, free: 14.7 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5447, allocations: 338.8 kB / 1.432 GB, free: 14.36 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.5449, allocations: 40.22 kB / 1.432 GB, free: 14.32 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.5451, allocations: 119.6 kB / 1.432 GB, free: 14.18 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.5454, allocations: 162.7 kB / 1.432 GB, free: 13.99 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5454, allocations: 0 / 1.432 GB, free: 13.99 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003948/0.5458, allocations: 197.4 kB / 1.432 GB, free: 13.79 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.5458, allocations: 11.94 kB / 1.432 GB, free: 13.78 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.5458, allocations: 0 / 1.432 GB, free: 13.78 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5458, allocations: 4 kB / 1.432 GB, free: 13.78 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.546, allocations: 27.98 kB / 1.432 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.546, allocations: 7.938 kB / 1.432 GB, free: 13.74 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.5461, allocations: 23.88 kB / 1.432 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.5462, allocations: 8 kB / 1.432 GB, free: 13.71 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001615/0.5463, allocations: 157.8 kB / 1.432 GB, free: 13.55 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.5464, allocations: 31.75 kB / 1.432 GB, free: 13.52 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.5468, allocations: 127 kB / 1.432 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.5468, allocations: 8.031 kB / 1.432 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5468, allocations: 0 / 1.432 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.5469, allocations: 116.9 kB / 1.433 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.5469, allocations: 0 / 1.433 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.5472, allocations: 12 kB / 1.433 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.5473, allocations: 15.92 kB / 1.433 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006156/0.5479, allocations: 0.6105 MB / 1.433 GB, free: 12.59 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007249/0.5486, allocations: 0.7529 MB / 1.434 GB, free: 11.82 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001567/0.5488, allocations: 52 kB / 1.434 GB, free: 11.77 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002153/0.549, allocations: 213.9 kB / 1.434 GB, free: 11.56 MB / 1.154 GB Notification: Performance of Backend: time 4.51e-07/0.549, allocations: 0 / 1.434 GB, free: 11.56 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.5501, allocations: 195.2 kB / 1.434 GB, free: 11.37 MB / 1.154 GB Notification: Performance of SimCode: time 0.00151/0.5516, allocations: 1 MB / 1.435 GB, free: 10.33 MB / 1.154 GB Notification: Performance of Templates: time 0.009303/0.5609, allocations: 4.513 MB / 1.44 GB, free: 5.875 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches