Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.00102/0.00102, allocations: 91.61 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.001284/0.001284, 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.36/1.36, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003152, allocations: 11.69 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2574, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1567/0.4141, allocations: 146.5 MB / 1.201 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004832/0.419, allocations: 4.214 MB / 1.205 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.4192, allocations: 7.938 kB / 1.205 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.4196, allocations: 91.36 kB / 1.205 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006419/0.4202, allocations: 254.7 kB / 1.206 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.4209, allocations: 230.6 kB / 1.206 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006781/0.4215, allocations: 0.6665 MB / 1.206 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.4218, allocations: 161.2 kB / 1.207 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007664/0.4226, allocations: 362.5 kB / 1.207 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.4229, allocations: 187.2 kB / 1.207 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.4229, allocations: 12 kB / 1.207 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.4231, allocations: 63.94 kB / 1.207 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.907e-05/0.4232, allocations: 79.77 kB / 1.207 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.4233, allocations: 65.58 kB / 1.207 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.4235, allocations: 219.4 kB / 1.208 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4235, allocations: 0 / 1.208 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4235, allocations: 0 / 1.208 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.4236, allocations: 0 / 1.208 GB, free: 11.78 MB / 0.9669 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.0007788/0.4243, allocations: 0.4945 MB / 1.208 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4244, allocations: 8.031 kB / 1.208 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.4245, allocations: 35.62 kB / 1.208 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.4248, allocations: 267.5 kB / 1.208 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.4249, allocations: 12 kB / 1.208 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.4249, allocations: 23.95 kB / 1.208 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.4254, allocations: 273.6 kB / 1.209 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4254, allocations: 3.938 kB / 1.209 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.4254, allocations: 4 kB / 1.209 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.4254, allocations: 8 kB / 1.209 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.4258, allocations: 159.8 kB / 1.209 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.4271, allocations: 1.371 MB / 1.21 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.4274, allocations: 187.7 kB / 1.21 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.4276, allocations: 97.11 kB / 1.21 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003459/0.428, allocations: 137 kB / 1.211 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.428, allocations: 38.56 kB / 1.211 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.428, allocations: 0 / 1.211 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.000604/0.4286, allocations: 225.7 kB / 1.211 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.4287, allocations: 183.9 kB / 1.211 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.429, allocations: 294.9 kB / 1.211 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.4291, allocations: 29.7 kB / 1.211 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.4292, allocations: 151.8 kB / 1.211 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.4292, allocations: 35.61 kB / 1.211 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.4292, allocations: 0 / 1.211 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.4293, allocations: 338.8 kB / 1.212 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.4295, allocations: 55.95 kB / 1.212 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.4297, allocations: 114.4 kB / 1.212 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.4298, allocations: 72.2 kB / 1.212 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4298, allocations: 0 / 1.212 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003603/0.4302, allocations: 201.1 kB / 1.212 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4302, allocations: 4 kB / 1.212 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4302, allocations: 4.219 kB / 1.212 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4303, allocations: 4 kB / 1.212 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.4304, allocations: 43.91 kB / 1.212 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4304, allocations: 4 kB / 1.212 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.4306, allocations: 31.69 kB / 1.212 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.4306, allocations: 8 kB / 1.212 GB, free: 6.5 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.4308, allocations: 153.7 kB / 1.212 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.4309, allocations: 23.72 kB / 1.212 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.4312, allocations: 139 kB / 1.213 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4312, allocations: 4 kB / 1.213 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4313, allocations: 0 / 1.213 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4313, allocations: 8 kB / 1.213 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008056/0.4321, allocations: 0.7652 MB / 1.213 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4321, allocations: 4 kB / 1.213 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.4322, allocations: 32.14 kB / 1.213 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4322, allocations: 0 / 1.213 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.4323, allocations: 7.953 kB / 1.213 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4323, allocations: 4 kB / 1.213 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4323, allocations: 3.938 kB / 1.213 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.4328, allocations: 355.4 kB / 1.214 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.681e-05/0.4329, allocations: 112.8 kB / 1.214 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.4329, allocations: 8 kB / 1.214 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.4331, allocations: 23.88 kB / 1.214 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.4331, allocations: 7.984 kB / 1.214 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.4331, allocations: 4 kB / 1.214 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001887/0.4333, allocations: 209.9 kB / 1.214 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4333, allocations: 4.062 kB / 1.214 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003382/0.4337, allocations: 52 kB / 1.214 GB, free: 4.457 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003113/0.434, allocations: 137.8 kB / 1.214 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.4343, allocations: 127.8 kB / 1.214 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4343, allocations: 0 / 1.214 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.4345, allocations: 64.64 kB / 1.214 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007264/0.4352, allocations: 133.4 kB / 1.215 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008251/0.4361, allocations: 0.5504 MB / 1.215 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.4364, allocations: 0.7598 MB / 1.216 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.4365, allocations: 50.27 kB / 1.216 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.4366, allocations: 23.44 kB / 1.216 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.4366, allocations: 0 / 1.216 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of Templates: time 0.007808/0.4444, allocations: 3.868 MB / 1.22 GB, free: 14.74 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches