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.006464/0.006464, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001403/0.001403, allocations: 193.6 kB / 16.79 MB, free: 5.809 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.413/1.413, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.801/2.801, allocations: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.33 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2999, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1633/0.4632, allocations: 159.1 MB / 1.208 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006541/0.4698, allocations: 4.545 MB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.4703, allocations: 11.94 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.4708, allocations: 95.36 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.4719, allocations: 310.7 kB / 1.213 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008679/0.4728, allocations: 246.6 kB / 1.213 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008849/0.4737, allocations: 0.7991 MB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.4741, allocations: 169.5 kB / 1.214 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.4752, allocations: 414.4 kB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003901/0.4756, allocations: 211.1 kB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.4757, allocations: 12 kB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.4759, allocations: 71.94 kB / 1.215 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.476, allocations: 75.78 kB / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.4762, allocations: 115.4 kB / 1.215 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.4765, allocations: 211.6 kB / 1.215 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4765, allocations: 0 / 1.215 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.12e-07/0.4765, allocations: 0 / 1.215 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.4765, allocations: 0 / 1.215 GB, free: 1.254 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.0009358/0.4775, allocations: 0.5411 MB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.4775, allocations: 8.031 kB / 1.216 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.927e-05/0.4776, allocations: 31.59 kB / 1.216 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.478, allocations: 275.3 kB / 1.216 GB, free: 324 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.4781, allocations: 16 kB / 1.216 GB, free: 308 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.4781, allocations: 19.98 kB / 1.216 GB, free: 288 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.4786, allocations: 265.6 kB / 1.216 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4786, allocations: 7.938 kB / 1.216 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.4786, allocations: 11.94 kB / 1.216 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4787, allocations: 4 kB / 1.216 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.479, allocations: 147.8 kB / 1.216 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.4804, allocations: 1.364 MB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.4807, allocations: 183.7 kB / 1.218 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.4809, allocations: 93.05 kB / 1.218 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/0.4812, allocations: 121 kB / 1.218 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.4813, allocations: 42.5 kB / 1.218 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.4813, allocations: 0 / 1.218 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.000621/0.4819, allocations: 209.1 kB / 1.218 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.482, allocations: 187.9 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.4823, allocations: 283.6 kB / 1.219 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.4823, allocations: 33.7 kB / 1.219 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.4824, allocations: 151.8 kB / 1.219 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.4825, allocations: 39.52 kB / 1.219 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.4826, allocations: 41.64 kB / 1.219 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4827, allocations: 334.8 kB / 1.219 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.4828, allocations: 43.97 kB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.483, allocations: 117.8 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.4833, allocations: 154.7 kB / 1.22 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4833, allocations: 0 / 1.22 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003699/0.4837, allocations: 189.3 kB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4837, allocations: 13.81 kB / 1.22 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4837, allocations: 48 / 1.22 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4838, allocations: 15.86 kB / 1.22 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.4839, allocations: 27.98 kB / 1.22 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4839, allocations: 4 kB / 1.22 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.4841, allocations: 31.77 kB / 1.22 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.4841, allocations: 4 kB / 1.22 GB, free: 11.86 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.0001387/0.4843, allocations: 157.8 kB / 1.22 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.4844, allocations: 27.66 kB / 1.22 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.4848, allocations: 126.9 kB / 1.22 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4848, allocations: 4 kB / 1.22 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4848, allocations: 4.375 kB / 1.22 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4848, allocations: 3.938 kB / 1.22 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008315/0.4856, allocations: 0.773 MB / 1.221 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4856, allocations: 4 kB / 1.221 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.4858, allocations: 19.98 kB / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4858, allocations: 4 kB / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.4858, allocations: 11.94 kB / 1.221 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4858, allocations: 4.156 kB / 1.221 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4858, allocations: 0 / 1.221 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.4864, allocations: 339.4 kB / 1.221 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.4865, allocations: 116.8 kB / 1.222 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.4865, allocations: 3.984 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.4867, allocations: 8 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.4867, allocations: 15.92 kB / 1.222 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.4867, allocations: 4 kB / 1.222 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001954/0.4869, allocations: 217.9 kB / 1.222 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4869, allocations: 0 / 1.222 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003457/0.4873, allocations: 48 kB / 1.222 GB, free: 9.84 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.0003516/0.4876, allocations: 133.6 kB / 1.222 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.488, allocations: 123.8 kB / 1.222 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.488, allocations: 0 / 1.222 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.4882, allocations: 55.91 kB / 1.222 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007606/0.4889, allocations: 133.4 kB / 1.222 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008629/0.4898, allocations: 0.5737 MB / 1.223 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.4901, allocations: 0.7638 MB / 1.224 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.4902, allocations: 27.38 kB / 1.224 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.4902, allocations: 0 / 1.224 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of Templates: time 0.006854/0.4971, allocations: 3.79 MB / 1.227 GB, free: 4.203 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