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.001121/0.001121, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.728/2.728, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004092, allocations: 8.406 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3329, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1804/0.5134, allocations: 157.1 MB / 1.213 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005653/0.5191, allocations: 4.487 MB / 1.217 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.5194, allocations: 7.938 kB / 1.217 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.5199, allocations: 103.3 kB / 1.217 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009463/0.5209, allocations: 318.6 kB / 1.217 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.5216, allocations: 242.5 kB / 1.218 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000826/0.5225, allocations: 0.7953 MB / 1.218 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.5228, allocations: 165.5 kB / 1.219 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.5238, allocations: 422.4 kB / 1.219 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.5241, allocations: 191.2 kB / 1.219 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.5242, allocations: 8 kB / 1.219 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.5244, allocations: 71.94 kB / 1.219 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.5245, allocations: 87.7 kB / 1.219 GB, free: 488 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.5246, allocations: 133.1 kB / 1.22 GB, free: 348 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.5249, allocations: 211.5 kB / 1.22 GB, free: 136 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.5249, allocations: 0 / 1.22 GB, free: 136 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5249, allocations: 4 kB / 1.22 GB, free: 132 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5249, allocations: 0 / 1.22 GB, free: 132 kB / 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.0009017/0.5259, allocations: 494.4 kB / 1.22 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.5259, allocations: 8.031 kB / 1.22 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.959e-05/0.526, allocations: 39.56 kB / 1.22 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.5265, allocations: 271.4 kB / 1.221 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.5265, allocations: 12 kB / 1.221 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.5266, allocations: 20 kB / 1.221 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.5271, allocations: 273.6 kB / 1.221 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5271, allocations: 3.938 kB / 1.221 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.5271, allocations: 11.94 kB / 1.221 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.5271, allocations: 4 kB / 1.221 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.5275, allocations: 167.8 kB / 1.221 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.5289, allocations: 1.375 MB / 1.222 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.5292, allocations: 187.7 kB / 1.222 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.5294, allocations: 105 kB / 1.223 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003916/0.5298, allocations: 129 kB / 1.223 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.5299, allocations: 42.5 kB / 1.223 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.5299, allocations: 0 / 1.223 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0007037/0.5306, allocations: 221.8 kB / 1.223 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.5307, allocations: 187.9 kB / 1.223 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.531, allocations: 291 kB / 1.223 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.5311, allocations: 29.7 kB / 1.223 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.5312, allocations: 143.9 kB / 1.224 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.5313, allocations: 43.52 kB / 1.224 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.5313, allocations: 21.7 kB / 1.224 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5315, allocations: 334.8 kB / 1.224 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.5316, allocations: 47.97 kB / 1.224 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.5318, allocations: 126.2 kB / 1.224 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.5321, allocations: 170.7 kB / 1.224 GB, free: 11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5321, allocations: 0 / 1.224 GB, free: 11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003991/0.5325, allocations: 201.2 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.5326, allocations: 11.92 kB / 1.225 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5326, allocations: 4 kB / 1.225 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.5326, allocations: 4 kB / 1.225 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.5328, allocations: 28.2 kB / 1.225 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.5328, allocations: 8 kB / 1.225 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.533, allocations: 31.73 kB / 1.225 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.533, allocations: 8.312 kB / 1.225 GB, free: 10.7 MB / 0.9825 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.0001311/0.5331, allocations: 149.7 kB / 1.225 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.5333, allocations: 27.66 kB / 1.225 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.5336, allocations: 151 kB / 1.225 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5336, allocations: 0 / 1.225 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5336, allocations: 4 kB / 1.225 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5336, allocations: 3.938 kB / 1.225 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008298/0.5345, allocations: 0.7691 MB / 1.226 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5345, allocations: 0 / 1.226 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.5346, allocations: 27.92 kB / 1.226 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.5346, allocations: 4 kB / 1.226 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.5347, allocations: 48 / 1.226 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5347, allocations: 8.156 kB / 1.226 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5347, allocations: 3.984 kB / 1.226 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005474/0.5352, allocations: 355.3 kB / 1.226 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.485e-05/0.5353, allocations: 112.8 kB / 1.226 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.5354, allocations: 11.98 kB / 1.226 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.5355, allocations: 12.06 kB / 1.226 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.5356, allocations: 15.86 kB / 1.226 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.5356, allocations: 4 kB / 1.226 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001958/0.5358, allocations: 209.9 kB / 1.226 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5358, allocations: 0 / 1.226 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003957/0.5362, allocations: 48 kB / 1.226 GB, free: 8.66 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003647/0.5366, allocations: 152.4 kB / 1.227 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003614/0.5369, allocations: 136 kB / 1.227 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.537, allocations: 0 / 1.227 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.5371, allocations: 64.09 kB / 1.227 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008182/0.5379, allocations: 127.2 kB / 1.227 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008572/0.5388, allocations: 0.6044 MB / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.5391, allocations: 0.7521 MB / 1.228 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.5392, allocations: 23.44 kB / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.5392, allocations: 0 / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.006165/0.5454, allocations: 3.767 MB / 1.232 GB, free: 3.004 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches