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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.004618/0.004618, allocations: 100.9 kB / 15.73 MB, free: 6.051 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.001114/0.001114, allocations: 200.1 kB / 16.68 MB, free: 5.965 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 67.89 kB / 1.054 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1776/1.233, allocations: 161.4 MB / 1.365 GB, free: 11.61 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005941/1.239, allocations: 4.547 MB / 1.37 GB, free: 7.055 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003952/1.24, allocations: 11.94 kB / 1.37 GB, free: 7.043 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005044/1.24, allocations: 123 kB / 1.37 GB, free: 6.922 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0009024/1.241, allocations: 334.4 kB / 1.37 GB, free: 6.594 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00076/1.242, allocations: 274.7 kB / 1.37 GB, free: 6.328 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0006402/1.243, allocations: 0.5573 MB / 1.371 GB, free: 5.77 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/1.243, allocations: 205.2 kB / 1.371 GB, free: 5.566 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009106/1.244, allocations: 462.2 kB / 1.372 GB, free: 5.113 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/1.244, allocations: 191.3 kB / 1.372 GB, free: 4.926 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/1.244, allocations: 16 kB / 1.372 GB, free: 4.91 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/1.244, allocations: 83.88 kB / 1.372 GB, free: 4.828 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/1.245, allocations: 87.77 kB / 1.372 GB, free: 4.742 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/1.245, allocations: 123.3 kB / 1.372 GB, free: 4.621 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003986/1.245, allocations: 293 kB / 1.372 GB, free: 4.336 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.245, allocations: 0 / 1.372 GB, free: 4.336 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.924e-06/1.245, allocations: 0 / 1.372 GB, free: 4.336 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.245, allocations: 4 kB / 1.372 GB, free: 4.332 MB / 1.092 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.000815/1.246, allocations: 0.5333 MB / 1.373 GB, free: 3.75 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/1.246, allocations: 12.03 kB / 1.373 GB, free: 3.738 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/1.246, allocations: 27.66 kB / 1.373 GB, free: 3.711 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/1.246, allocations: 283.4 kB / 1.373 GB, free: 3.395 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/1.247, allocations: 19.94 kB / 1.373 GB, free: 3.375 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/1.247, allocations: 20 kB / 1.373 GB, free: 3.355 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/1.247, allocations: 265.7 kB / 1.374 GB, free: 3.059 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.247, allocations: 0 / 1.374 GB, free: 3.059 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/1.247, allocations: 11.88 kB / 1.374 GB, free: 3.047 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/1.247, allocations: 8 kB / 1.374 GB, free: 3.039 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/1.247, allocations: 151.7 kB / 1.374 GB, free: 2.891 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/1.249, allocations: 1.363 MB / 1.375 GB, free: 1.438 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/1.249, allocations: 191.7 kB / 1.375 GB, free: 1.195 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/1.249, allocations: 97.11 kB / 1.375 GB, free: 1.082 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003453/1.25, allocations: 121 kB / 1.375 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/1.25, allocations: 46.48 kB / 1.375 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 2.464e-06/1.25, allocations: 3.984 kB / 1.375 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0005894/1.25, allocations: 205.1 kB / 1.376 GB, free: 0.6797 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/1.25, allocations: 184.5 kB / 1.376 GB, free: 468 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/1.251, allocations: 291 kB / 1.376 GB, free: 164 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/1.251, allocations: 29.7 kB / 1.376 GB, free: 128 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/1.251, allocations: 143.9 kB / 1.376 GB, free: 15.98 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/1.251, allocations: 43.52 kB / 1.376 GB, free: 15.94 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/1.251, allocations: 37.64 kB / 1.376 GB, free: 15.89 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.251, allocations: 330.8 kB / 1.377 GB, free: 15.56 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/1.251, allocations: 51.89 kB / 1.377 GB, free: 15.51 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/1.251, allocations: 111.7 kB / 1.377 GB, free: 15.38 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/1.252, allocations: 162.7 kB / 1.377 GB, free: 15.19 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.252, allocations: 0 / 1.377 GB, free: 15.19 MB / 1.107 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003529/1.252, allocations: 181.2 kB / 1.377 GB, free: 15.01 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/1.252, allocations: 11.94 kB / 1.377 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.252, allocations: 0 / 1.377 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.252, allocations: 7.984 kB / 1.377 GB, free: 14.99 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/1.252, allocations: 35.92 kB / 1.377 GB, free: 14.95 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.252, allocations: 4 kB / 1.377 GB, free: 14.95 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/1.252, allocations: 23.95 kB / 1.377 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/1.253, allocations: 16 kB / 1.377 GB, free: 14.91 MB / 1.107 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.0001288/1.253, allocations: 141.8 kB / 1.377 GB, free: 14.76 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/1.253, allocations: 27.66 kB / 1.377 GB, free: 14.73 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/1.253, allocations: 139.2 kB / 1.378 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/1.253, allocations: 7.938 kB / 1.378 GB, free: 14.58 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.253, allocations: 0 / 1.378 GB, free: 14.58 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/1.253, allocations: 4 kB / 1.378 GB, free: 14.57 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008926/1.254, allocations: 0.773 MB / 1.378 GB, free: 13.73 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/1.254, allocations: 4 kB / 1.378 GB, free: 13.72 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/1.254, allocations: 19.98 kB / 1.378 GB, free: 13.7 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/1.254, allocations: 8.156 kB / 1.378 GB, free: 13.7 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/1.254, allocations: 0 / 1.378 GB, free: 13.7 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/1.254, allocations: 7.938 kB / 1.378 GB, free: 13.69 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.254, allocations: 3.938 kB / 1.378 GB, free: 13.68 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/1.255, allocations: 339.3 kB / 1.379 GB, free: 13.32 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.953e-05/1.255, allocations: 108.8 kB / 1.379 GB, free: 13.2 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/1.255, allocations: 4 kB / 1.379 GB, free: 13.19 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/1.255, allocations: 11.98 kB / 1.379 GB, free: 13.18 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/1.255, allocations: 11.92 kB / 1.379 GB, free: 13.17 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/1.255, allocations: 8.062 kB / 1.379 GB, free: 13.16 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001887/1.255, allocations: 209.9 kB / 1.379 GB, free: 12.96 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.7e-07/1.255, allocations: 0 / 1.379 GB, free: 12.96 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003313/1.256, allocations: 55.94 kB / 1.379 GB, free: 12.91 MB / 1.107 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.0003301/1.256, allocations: 138.5 kB / 1.379 GB, free: 12.77 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003536/1.256, allocations: 123.8 kB / 1.379 GB, free: 12.65 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.256, allocations: 0 / 1.379 GB, free: 12.65 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/1.257, allocations: 63.89 kB / 1.379 GB, free: 12.59 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/1.257, allocations: 138.8 kB / 1.38 GB, free: 12.45 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/1.258, allocations: 488.2 kB / 1.38 GB, free: 11.94 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/1.258, allocations: 0.7634 MB / 1.381 GB, free: 11.15 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000121/1.259, allocations: 50.25 kB / 1.381 GB, free: 11.1 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/1.259, allocations: 23.44 kB / 1.381 GB, free: 11.08 MB / 1.107 GB Notification: Performance of SimCode: time 3.71e-07/1.259, allocations: 0 / 1.381 GB, free: 11.08 MB / 1.107 GB Notification: Performance of Templates: time 0.008422/1.267, allocations: 4.235 MB / 1.385 GB, free: 6.906 MB / 1.107 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches