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.007311/0.007312, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.001662/0.001662, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.296/2.296, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9375/0.9387, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2178/1.157, allocations: 161.4 MB / 1.246 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007325/1.164, allocations: 4.541 MB / 1.25 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006654/1.165, allocations: 11.94 kB / 1.25 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006225/1.165, allocations: 123.1 kB / 1.25 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/1.167, allocations: 342.4 kB / 1.25 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/1.168, allocations: 286.9 kB / 1.251 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001244/1.169, allocations: 0.5611 MB / 1.251 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006249/1.17, allocations: 211.4 kB / 1.251 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/1.171, allocations: 466.3 kB / 1.252 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/1.172, allocations: 191.2 kB / 1.252 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.366e-05/1.172, allocations: 16 kB / 1.252 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/1.172, allocations: 87.92 kB / 1.252 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/1.172, allocations: 79.78 kB / 1.252 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/1.173, allocations: 119.4 kB / 1.252 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005418/1.173, allocations: 295.5 kB / 1.253 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.173, allocations: 3.938 kB / 1.253 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/1.173, allocations: 4 kB / 1.253 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.072e-05/1.173, allocations: 4 kB / 1.253 GB, free: 5.055 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.001074/1.174, allocations: 0.537 MB / 1.253 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.174, allocations: 12.03 kB / 1.253 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.706e-05/1.174, allocations: 27.8 kB / 1.253 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/1.175, allocations: 291.5 kB / 1.253 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/1.175, allocations: 12 kB / 1.253 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/1.175, allocations: 20 kB / 1.254 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/1.176, allocations: 265.8 kB / 1.254 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.176, allocations: 0 / 1.254 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/1.176, allocations: 11.94 kB / 1.254 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.176, allocations: 4 kB / 1.254 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/1.176, allocations: 147.8 kB / 1.254 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/1.178, allocations: 1.372 MB / 1.255 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/1.178, allocations: 187.7 kB / 1.255 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/1.178, allocations: 93.11 kB / 1.256 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003847/1.178, allocations: 117 kB / 1.256 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.179, allocations: 46.44 kB / 1.256 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/1.179, allocations: 3.938 kB / 1.256 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006293/1.179, allocations: 201.3 kB / 1.256 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.748e-05/1.179, allocations: 192.5 kB / 1.256 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/1.18, allocations: 291 kB / 1.256 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/1.18, allocations: 33.69 kB / 1.256 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/1.18, allocations: 148 kB / 1.257 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/1.18, allocations: 31.7 kB / 1.257 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/1.18, allocations: 37.66 kB / 1.257 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.18, allocations: 338.8 kB / 1.257 GB, free: 300 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/1.18, allocations: 39.97 kB / 1.257 GB, free: 260 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/1.18, allocations: 122.4 kB / 1.257 GB, free: 112 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/1.181, allocations: 159.1 kB / 1.257 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.181, allocations: 0 / 1.257 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004046/1.181, allocations: 197.3 kB / 1.257 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.181, allocations: 11.94 kB / 1.257 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/1.181, allocations: 0 / 1.257 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.181, allocations: 4 kB / 1.257 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/1.181, allocations: 27.98 kB / 1.257 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.181, allocations: 7.938 kB / 1.257 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/1.182, allocations: 32.09 kB / 1.257 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/1.182, allocations: 11.98 kB / 1.257 GB, free: 15.63 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.000137/1.182, allocations: 150.2 kB / 1.258 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/1.182, allocations: 31.8 kB / 1.258 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/1.182, allocations: 127 kB / 1.258 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.182, allocations: 4 kB / 1.258 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.182, allocations: 0 / 1.258 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.182, allocations: 11.98 kB / 1.258 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009215/1.183, allocations: 0.7651 MB / 1.259 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.183, allocations: 4 kB / 1.259 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/1.183, allocations: 24.08 kB / 1.259 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/1.183, allocations: 8 kB / 1.259 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/1.183, allocations: 0 / 1.259 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/1.183, allocations: 7.984 kB / 1.259 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.183, allocations: 0 / 1.259 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/1.184, allocations: 347.4 kB / 1.259 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.184, allocations: 109.1 kB / 1.259 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/1.184, allocations: 12 kB / 1.259 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/1.184, allocations: 4 kB / 1.259 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/1.184, allocations: 19.92 kB / 1.259 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/1.184, allocations: 8 kB / 1.259 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002104/1.185, allocations: 209.9 kB / 1.259 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.185, allocations: 0 / 1.259 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003644/1.185, allocations: 55.92 kB / 1.259 GB, free: 13.62 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.000373/1.185, allocations: 144.1 kB / 1.259 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003704/1.186, allocations: 119.9 kB / 1.26 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.186, allocations: 7.938 kB / 1.26 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/1.186, allocations: 59.84 kB / 1.26 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007727/1.187, allocations: 122.8 kB / 1.26 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/1.188, allocations: 495.5 kB / 1.26 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/1.188, allocations: 0.7519 MB / 1.261 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001659/1.188, allocations: 58.23 kB / 1.261 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/1.188, allocations: 23.44 kB / 1.261 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.188, allocations: 0 / 1.261 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of Templates: time 0.009189/1.198, allocations: 4.245 MB / 1.265 GB, free: 7.602 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/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