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.00147/0.001471, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001603/0.001603, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.22/2.22, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 62.78 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2535, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6476/0.9011, allocations: 161.4 MB / 1.109 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005299/0.9065, allocations: 4.545 MB / 1.113 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005172/0.907, allocations: 15.28 kB / 1.113 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.9075, allocations: 123.7 kB / 1.113 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000892/0.9084, allocations: 331.7 kB / 1.114 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.9093, allocations: 276 kB / 1.114 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008932/0.9102, allocations: 0.5592 MB / 1.114 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003545/0.9106, allocations: 207.4 kB / 1.115 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.9116, allocations: 459.5 kB / 1.115 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.9119, allocations: 187.2 kB / 1.115 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.912, allocations: 16.34 kB / 1.115 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.9122, allocations: 84.38 kB / 1.115 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.9123, allocations: 91.7 kB / 1.115 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.9125, allocations: 118.5 kB / 1.116 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.9129, allocations: 301.2 kB / 1.116 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.913, allocations: 0 / 1.116 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.913, allocations: 1.156 kB / 1.116 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.913, allocations: 0 / 1.116 GB, free: 5.684 MB / 0.8575 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.001095/0.9141, allocations: 0.5316 MB / 1.116 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.9141, allocations: 10.7 kB / 1.116 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.9142, allocations: 29.77 kB / 1.116 GB, free: 21.24 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.9146, allocations: 287.9 kB / 1.117 GB, free: 21.01 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.9147, allocations: 14.97 kB / 1.117 GB, free: 21.01 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.9147, allocations: 20.12 kB / 1.117 GB, free: 21.01 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/0.9152, allocations: 262.1 kB / 1.117 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9152, allocations: 4.438 kB / 1.117 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.9152, allocations: 8.906 kB / 1.117 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.9152, allocations: 5.438 kB / 1.117 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.9156, allocations: 151.9 kB / 1.117 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.917, allocations: 1.359 MB / 1.118 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.9173, allocations: 181 kB / 1.119 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.9174, allocations: 96.16 kB / 1.119 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000365/0.9178, allocations: 119.1 kB / 1.119 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.9179, allocations: 43.27 kB / 1.119 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.9179, allocations: 1.125 kB / 1.119 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006034/0.9185, allocations: 211.3 kB / 1.119 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.9186, allocations: 186.4 kB / 1.119 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.9189, allocations: 291.6 kB / 1.119 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.9189, allocations: 26.92 kB / 1.12 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.919, allocations: 152 kB / 1.12 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.919, allocations: 34.3 kB / 1.12 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.9191, allocations: 35.78 kB / 1.12 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9192, allocations: 338.8 kB / 1.12 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.9194, allocations: 44.72 kB / 1.12 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.9195, allocations: 113.8 kB / 1.12 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.9198, allocations: 159.5 kB / 1.12 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9198, allocations: 4 kB / 1.12 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003816/0.9202, allocations: 188.9 kB / 1.121 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.9202, allocations: 9.438 kB / 1.121 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.9203, allocations: 3.031 kB / 1.121 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.9203, allocations: 3.891 kB / 1.121 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.9204, allocations: 35.3 kB / 1.121 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.9204, allocations: 3.047 kB / 1.121 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.9206, allocations: 29.34 kB / 1.121 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.9207, allocations: 7.828 kB / 1.121 GB, free: 18.41 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.0001362/0.9208, allocations: 154 kB / 1.121 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.921, allocations: 28.11 kB / 1.121 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.9213, allocations: 130.9 kB / 1.121 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.9213, allocations: 2.75 kB / 1.121 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.9213, allocations: 3.359 kB / 1.121 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.9213, allocations: 6.141 kB / 1.121 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008673/0.9222, allocations: 0.7732 MB / 1.122 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.9222, allocations: 2.266 kB / 1.122 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.9224, allocations: 28.58 kB / 1.122 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.9224, allocations: 5 kB / 1.122 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.9224, allocations: 2.781 kB / 1.122 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.9224, allocations: 2.516 kB / 1.122 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.9224, allocations: 1.25 kB / 1.122 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005107/0.9229, allocations: 350.7 kB / 1.122 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.9231, allocations: 108.1 kB / 1.122 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.9231, allocations: 2.859 kB / 1.122 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.9232, allocations: 14.94 kB / 1.122 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.9233, allocations: 13.84 kB / 1.122 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.9233, allocations: 8.312 kB / 1.122 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002115/0.9236, allocations: 207.4 kB / 1.122 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9236, allocations: 0 / 1.122 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003886/0.924, allocations: 54.25 kB / 1.122 GB, free: 17.2 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.0003459/0.9243, allocations: 146.5 kB / 1.123 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003862/0.9247, allocations: 124 kB / 1.123 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9247, allocations: 0 / 1.123 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.9249, allocations: 57.34 kB / 1.123 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.9256, allocations: 130.5 kB / 1.123 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.9265, allocations: 499.1 kB / 1.123 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.927, allocations: 0.7591 MB / 1.124 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001966/0.9272, allocations: 50 kB / 1.124 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.9273, allocations: 21.67 kB / 1.124 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of SimCode: time 2.124e-06/0.9273, allocations: 1.219 kB / 1.124 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.01094/0.9383, allocations: 4.213 MB / 1.128 GB, free: 15.82 MB / 0.8731 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 -s gbode -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