Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009669/0.0009669, allocations: 99.5 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.001163/0.001163, allocations: 185.5 kB / 16.92 MB, free: 6.703 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003721, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.732/0.7324, allocations: 142.4 MB / 0.9557 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1803/0.9127, allocations: 157.1 MB / 1.109 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006118/0.9189, allocations: 4.48 MB / 1.113 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.9194, allocations: 15.88 kB / 1.113 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.9198, allocations: 99.34 kB / 1.114 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0009707/0.9208, allocations: 306.6 kB / 1.114 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008136/0.9217, allocations: 261.6 kB / 1.114 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009468/0.9226, allocations: 0.7913 MB / 1.115 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.923, allocations: 165.5 kB / 1.115 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.9241, allocations: 418.4 kB / 1.115 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.9245, allocations: 199.2 kB / 1.116 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.9245, allocations: 12 kB / 1.116 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.9247, allocations: 63.95 kB / 1.116 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.9248, allocations: 83.77 kB / 1.116 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.925, allocations: 137.1 kB / 1.116 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.9253, allocations: 211.5 kB / 1.116 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9253, allocations: 0 / 1.116 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9253, allocations: 0 / 1.116 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.9253, allocations: 0 / 1.116 GB, free: 10.52 MB / 0.8731 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.0007886/0.9261, allocations: 0.4983 MB / 1.117 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.9261, allocations: 8.031 kB / 1.117 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.9262, allocations: 31.66 kB / 1.117 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.9266, allocations: 271.4 kB / 1.117 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.9267, allocations: 12 kB / 1.117 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.9267, allocations: 24 kB / 1.117 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.9272, allocations: 269.7 kB / 1.117 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.9272, allocations: 3.938 kB / 1.117 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.9273, allocations: 11.94 kB / 1.117 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.9273, allocations: 4 kB / 1.117 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.9277, allocations: 159.8 kB / 1.117 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.9291, allocations: 1.375 MB / 1.119 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.9295, allocations: 183.7 kB / 1.119 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.9297, allocations: 105 kB / 1.119 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003766/0.9301, allocations: 133 kB / 1.119 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.9301, allocations: 38.5 kB / 1.119 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.9301, allocations: 0 / 1.119 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0007036/0.9308, allocations: 225.7 kB / 1.119 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/0.931, allocations: 187.9 kB / 1.12 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.9313, allocations: 294.9 kB / 1.12 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.9314, allocations: 33.64 kB / 1.12 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.9315, allocations: 143.9 kB / 1.12 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.9315, allocations: 31.55 kB / 1.12 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.9316, allocations: 25.64 kB / 1.12 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.9317, allocations: 338.8 kB / 1.12 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.9318, allocations: 47.97 kB / 1.12 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.9321, allocations: 133.7 kB / 1.121 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.9324, allocations: 166.7 kB / 1.121 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.9324, allocations: 0 / 1.121 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004348/0.9328, allocations: 201.5 kB / 1.121 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.9329, allocations: 7.938 kB / 1.121 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.9329, allocations: 64 / 1.121 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.9329, allocations: 11.94 kB / 1.121 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.9331, allocations: 31.98 kB / 1.121 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.9331, allocations: 4.219 kB / 1.121 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.9333, allocations: 27.83 kB / 1.121 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.9333, allocations: 12 kB / 1.121 GB, free: 5.07 MB / 0.8731 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.0001582/0.9335, allocations: 153.7 kB / 1.121 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.9336, allocations: 27.66 kB / 1.121 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.934, allocations: 139 kB / 1.121 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.934, allocations: 4 kB / 1.121 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.934, allocations: 0 / 1.121 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.934, allocations: 4 kB / 1.121 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009094/0.9349, allocations: 0.7767 MB / 1.122 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.935, allocations: 4 kB / 1.122 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.9351, allocations: 23.98 kB / 1.122 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.9351, allocations: 0 / 1.122 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.9351, allocations: 7.938 kB / 1.122 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.9352, allocations: 0 / 1.122 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.9352, allocations: 12.14 kB / 1.122 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005955/0.9358, allocations: 351.3 kB / 1.122 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.9359, allocations: 112.8 kB / 1.123 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.9359, allocations: 0 / 1.123 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.9361, allocations: 16.06 kB / 1.123 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.9361, allocations: 15.86 kB / 1.123 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.9362, allocations: 4.062 kB / 1.123 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002217/0.9364, allocations: 213.9 kB / 1.123 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9364, allocations: 0 / 1.123 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003677/0.9368, allocations: 63.92 kB / 1.123 GB, free: 3.023 MB / 0.8731 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.0003595/0.9371, allocations: 150.3 kB / 1.123 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.9375, allocations: 128.2 kB / 1.123 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9375, allocations: 4.062 kB / 1.123 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.9377, allocations: 59.91 kB / 1.123 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.9386, allocations: 130.5 kB / 1.123 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008945/0.9395, allocations: 0.589 MB / 1.124 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.9398, allocations: 0.756 MB / 1.125 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.9399, allocations: 23.38 kB / 1.125 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of SimCode: time 4.1e-07/0.9399, allocations: 0 / 1.125 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of Templates: time 0.006717/0.9466, allocations: 3.76 MB / 1.128 GB, free: 13.4 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches