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.001401/0.001401, allocations: 105 kB / 16.41 MB, free: 6.504 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.7 kB / 17.34 MB, free: 5.742 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.555/2.555, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.89 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9053/0.9068, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2047/1.112, allocations: 161.4 MB / 1.246 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006365/1.118, allocations: 4.551 MB / 1.251 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004927/1.118, allocations: 7.938 kB / 1.251 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/1.119, allocations: 123.1 kB / 1.251 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/1.12, allocations: 334.4 kB / 1.251 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/1.121, allocations: 279 kB / 1.251 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008948/1.122, allocations: 0.5689 MB / 1.252 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004458/1.123, allocations: 201.2 kB / 1.252 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/1.124, allocations: 454.2 kB / 1.253 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/1.124, allocations: 199.2 kB / 1.253 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.479e-05/1.124, allocations: 20 kB / 1.253 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/1.125, allocations: 79.88 kB / 1.253 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/1.125, allocations: 87.77 kB / 1.253 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/1.125, allocations: 115.4 kB / 1.253 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/1.125, allocations: 300.9 kB / 1.253 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/1.125, allocations: 0 / 1.253 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/1.125, allocations: 0 / 1.253 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.125, allocations: 0 / 1.253 GB, free: 5.082 MB / 0.9825 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.0008338/1.126, allocations: 0.5334 MB / 1.254 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/1.126, allocations: 8.031 kB / 1.254 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/1.126, allocations: 31.66 kB / 1.254 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/1.127, allocations: 279.4 kB / 1.254 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/1.127, allocations: 20 kB / 1.254 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/1.127, allocations: 20 kB / 1.254 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/1.127, allocations: 261.8 kB / 1.254 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.127, allocations: 8 kB / 1.254 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/1.127, allocations: 7.938 kB / 1.254 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/1.127, allocations: 11.98 kB / 1.254 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/1.128, allocations: 147.8 kB / 1.255 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/1.129, allocations: 1.36 MB / 1.256 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/1.129, allocations: 187.7 kB / 1.256 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/1.13, allocations: 89.11 kB / 1.256 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000352/1.13, allocations: 121 kB / 1.256 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/1.13, allocations: 50.38 kB / 1.256 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.522e-06/1.13, allocations: 0 / 1.256 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006213/1.131, allocations: 209.7 kB / 1.257 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.131, allocations: 187.9 kB / 1.257 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/1.131, allocations: 290.9 kB / 1.257 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/1.131, allocations: 29.7 kB / 1.257 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.131, allocations: 147.9 kB / 1.257 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/1.131, allocations: 47.55 kB / 1.257 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/1.131, allocations: 33.7 kB / 1.257 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.131, allocations: 334.8 kB / 1.258 GB, free: 332 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/1.132, allocations: 43.97 kB / 1.258 GB, free: 288 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/1.132, allocations: 115.7 kB / 1.258 GB, free: 144 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/1.132, allocations: 158.7 kB / 1.258 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.132, allocations: 0 / 1.258 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003736/1.132, allocations: 185.1 kB / 1.258 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/1.132, allocations: 16.16 kB / 1.258 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.132, allocations: 0 / 1.258 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.132, allocations: 4 kB / 1.258 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/1.133, allocations: 35.92 kB / 1.258 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/1.133, allocations: 7.938 kB / 1.258 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/1.133, allocations: 23.73 kB / 1.258 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/1.133, allocations: 12 kB / 1.258 GB, free: 15.68 MB / 0.9981 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.0001411/1.133, allocations: 150.2 kB / 1.258 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/1.133, allocations: 31.66 kB / 1.258 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/1.133, allocations: 131 kB / 1.258 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.133, allocations: 4 kB / 1.258 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.133, allocations: 384 / 1.258 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/1.134, allocations: 4 kB / 1.258 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008555/1.134, allocations: 0.7691 MB / 1.259 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.134, allocations: 8 kB / 1.259 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/1.135, allocations: 23.92 kB / 1.259 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/1.135, allocations: 0 / 1.259 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/1.135, allocations: 4 kB / 1.259 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.135, allocations: 4 kB / 1.259 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.135, allocations: 0 / 1.259 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/1.135, allocations: 347.4 kB / 1.26 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.868e-05/1.135, allocations: 108.8 kB / 1.26 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/1.135, allocations: 7.984 kB / 1.26 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/1.135, allocations: 11.94 kB / 1.26 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/1.135, allocations: 11.97 kB / 1.26 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/1.135, allocations: 7.984 kB / 1.26 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000223/1.136, allocations: 209.9 kB / 1.26 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.136, allocations: 0 / 1.26 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003822/1.136, allocations: 60 kB / 1.26 GB, free: 13.66 MB / 0.9981 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.0004765/1.137, allocations: 138.4 kB / 1.26 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004095/1.137, allocations: 124.1 kB / 1.26 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.137, allocations: 4.125 kB / 1.26 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/1.137, allocations: 63.84 kB / 1.26 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008057/1.138, allocations: 121.2 kB / 1.26 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/1.139, allocations: 0.514 MB / 1.261 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/1.139, allocations: 0.7519 MB / 1.262 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/1.14, allocations: 23.44 kB / 1.262 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.14, allocations: 4 kB / 1.262 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of Templates: time 0.007683/1.147, allocations: 3.802 MB / 1.265 GB, free: 8.086 MB / 0.9981 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