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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001587/0.001587, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001959/0.001959, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 71.89 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7346, allocations: 140.3 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1795/0.9142, allocations: 159.2 MB / 1.105 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005404/0.9197, allocations: 4.507 MB / 1.109 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004339/0.9201, allocations: 7.938 kB / 1.109 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004482/0.9206, allocations: 103.4 kB / 1.109 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0008023/0.9215, allocations: 322.7 kB / 1.109 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007365/0.9222, allocations: 259.1 kB / 1.11 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006134/0.9228, allocations: 0.5612 MB / 1.11 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.9232, allocations: 193.1 kB / 1.11 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009346/0.9241, allocations: 450.3 kB / 1.111 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.9244, allocations: 203.2 kB / 1.111 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.9245, allocations: 16 kB / 1.111 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.9246, allocations: 79.94 kB / 1.111 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.9247, allocations: 87.77 kB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.9249, allocations: 123.3 kB / 1.111 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.9252, allocations: 291.1 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.9253, allocations: 0 / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9253, allocations: 0 / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.9253, allocations: 0 / 1.111 GB, free: 11.23 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.000847/0.9261, allocations: 0.5372 MB / 1.112 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.9262, allocations: 8.031 kB / 1.112 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.9262, allocations: 27.66 kB / 1.112 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.9266, allocations: 271.4 kB / 1.112 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.9266, allocations: 16 kB / 1.112 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.9267, allocations: 16 kB / 1.112 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.9271, allocations: 265.6 kB / 1.113 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.9271, allocations: 4 kB / 1.113 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.9272, allocations: 15.92 kB / 1.113 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.9272, allocations: 4 kB / 1.113 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.9275, allocations: 147.8 kB / 1.113 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.929, allocations: 1.367 MB / 1.114 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.9294, allocations: 183.7 kB / 1.114 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.9295, allocations: 93.11 kB / 1.114 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/0.9299, allocations: 117.1 kB / 1.114 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.9299, allocations: 50.42 kB / 1.115 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.9299, allocations: 3.938 kB / 1.115 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0005861/0.9305, allocations: 201.4 kB / 1.115 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.01e-05/0.9306, allocations: 191.9 kB / 1.115 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.9309, allocations: 283 kB / 1.115 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.9309, allocations: 33.7 kB / 1.115 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.9311, allocations: 152.2 kB / 1.115 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.9311, allocations: 35.48 kB / 1.115 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/0.9312, allocations: 37.7 kB / 1.115 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9313, allocations: 330.8 kB / 1.116 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.9314, allocations: 51.89 kB / 1.116 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.9316, allocations: 115.7 kB / 1.116 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.9319, allocations: 154.9 kB / 1.116 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9319, allocations: 0 / 1.116 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003544/0.9323, allocations: 193.4 kB / 1.116 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9323, allocations: 11.94 kB / 1.116 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.9323, allocations: 3.984 kB / 1.116 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.9323, allocations: 4 kB / 1.116 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.9325, allocations: 31.92 kB / 1.116 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.9325, allocations: 4 kB / 1.116 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.9327, allocations: 31.73 kB / 1.116 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.9327, allocations: 4 kB / 1.116 GB, free: 5.832 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.0001338/0.9328, allocations: 153.8 kB / 1.116 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.933, allocations: 31.64 kB / 1.116 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.9333, allocations: 134.9 kB / 1.117 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.9333, allocations: 0 / 1.117 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9333, allocations: 4 kB / 1.117 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.9333, allocations: 0 / 1.117 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008126/0.9342, allocations: 0.7691 MB / 1.117 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9342, allocations: 0 / 1.117 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.9343, allocations: 27.92 kB / 1.117 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.9343, allocations: 4.047 kB / 1.117 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.9343, allocations: 7.984 kB / 1.117 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9344, allocations: 160 / 1.117 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9344, allocations: 8 kB / 1.117 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.9349, allocations: 347.2 kB / 1.118 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.935, allocations: 116.9 kB / 1.118 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.935, allocations: 4 kB / 1.118 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.9352, allocations: 11.98 kB / 1.118 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.9352, allocations: 15.92 kB / 1.118 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.9352, allocations: 4 kB / 1.118 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002027/0.9355, allocations: 214 kB / 1.118 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9355, allocations: 96 / 1.118 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003405/0.9358, allocations: 55.88 kB / 1.118 GB, free: 3.805 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.0003162/0.9361, allocations: 141.8 kB / 1.118 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003386/0.9365, allocations: 131.9 kB / 1.118 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9365, allocations: 0 / 1.118 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.9366, allocations: 59.91 kB / 1.118 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007435/0.9374, allocations: 115.4 kB / 1.119 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007887/0.9382, allocations: 0.5468 MB / 1.119 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.9386, allocations: 0.7558 MB / 1.12 GB, free: 2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.9387, allocations: 50.25 kB / 1.12 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.9388, allocations: 27.42 kB / 1.12 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/0.9388, allocations: 0 / 1.12 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of Templates: time 0.007954/0.9467, allocations: 4.163 MB / 1.124 GB, free: 13.83 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches