Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, 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.001307/0.001307, allocations: 192.1 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.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.407/2.407, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.71/0.7113, allocations: 140.4 MB / 0.9491 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.185/0.8964, allocations: 165.3 MB / 1.11 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006951/0.9034, allocations: 6.496 MB / 1.117 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004735/0.9039, allocations: 11.94 kB / 1.117 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005304/0.9045, allocations: 143.1 kB / 1.117 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.9064, allocations: 0.786 MB / 1.118 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009047/0.9073, allocations: 298.8 kB / 1.118 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008165/0.9082, allocations: 0.7251 MB / 1.119 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/0.9086, allocations: 258.8 kB / 1.119 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.9096, allocations: 0.5448 MB / 1.12 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.91, allocations: 286.9 kB / 1.12 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.9101, allocations: 20 kB / 1.12 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006284/0.9107, allocations: 355.1 kB / 1.12 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.9108, allocations: 107.7 kB / 1.12 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.911, allocations: 167.1 kB / 1.12 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.9116, allocations: 490.4 kB / 1.121 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.9116, allocations: 0 / 1.121 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9116, allocations: 0 / 1.121 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.9116, allocations: 0 / 1.121 GB, free: 1.512 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007854/0.9124, allocations: 0.6156 MB / 1.121 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.9124, allocations: 12.03 kB / 1.121 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.9127, allocations: 63.5 kB / 1.122 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.9131, allocations: 313.2 kB / 1.122 GB, free: 436 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.9132, allocations: 16.56 kB / 1.122 GB, free: 420 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.9132, allocations: 28 kB / 1.122 GB, free: 392 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.9138, allocations: 323.6 kB / 1.122 GB, free: 40 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.9138, allocations: 0 / 1.122 GB, free: 40 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.9138, allocations: 12 kB / 1.122 GB, free: 28 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.9138, allocations: 8 kB / 1.122 GB, free: 20 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.9142, allocations: 197.6 kB / 1.122 GB, free: 15.83 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.9158, allocations: 1.534 MB / 1.124 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.916, allocations: 130.3 kB / 1.124 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.9162, allocations: 92.8 kB / 1.124 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000643/0.9168, allocations: 299.2 kB / 1.124 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.9169, allocations: 38.5 kB / 1.124 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.9169, allocations: 0 / 1.124 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0006978/0.9176, allocations: 274.2 kB / 1.125 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.9176, allocations: 51.41 kB / 1.125 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.9179, allocations: 316.5 kB / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.918, allocations: 25.7 kB / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.9181, allocations: 180.1 kB / 1.125 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.9181, allocations: 47.39 kB / 1.125 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.9182, allocations: 37.61 kB / 1.125 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.9183, allocations: 342.8 kB / 1.126 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.9185, allocations: 59.95 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.9187, allocations: 113.1 kB / 1.126 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.919, allocations: 173 kB / 1.126 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.919, allocations: 3.938 kB / 1.126 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003811/0.9194, allocations: 217.1 kB / 1.126 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.9194, allocations: 5.875 kB / 1.126 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9194, allocations: 4.156 kB / 1.126 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.9194, allocations: 4 kB / 1.126 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.9196, allocations: 31.92 kB / 1.126 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.9196, allocations: 7.984 kB / 1.126 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.9198, allocations: 31.73 kB / 1.126 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.9198, allocations: 8 kB / 1.126 GB, free: 11.55 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001386/0.92, allocations: 157.7 kB / 1.126 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.92, allocations: 27.62 kB / 1.126 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.9204, allocations: 214 kB / 1.127 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.9205, allocations: 4 kB / 1.127 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9205, allocations: 0 / 1.127 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.9205, allocations: 0 / 1.127 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000937/0.9214, allocations: 0.6796 MB / 1.127 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9214, allocations: 3.938 kB / 1.127 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.9216, allocations: 32.2 kB / 1.127 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.9216, allocations: 4 kB / 1.127 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.9216, allocations: 7.984 kB / 1.127 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.9216, allocations: 7.938 kB / 1.127 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.9216, allocations: 3.938 kB / 1.127 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.922, allocations: 329.1 kB / 1.128 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.9221, allocations: 112.8 kB / 1.128 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.9222, allocations: 8 kB / 1.128 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.9224, allocations: 27.77 kB / 1.128 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.9224, allocations: 23.86 kB / 1.128 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.9224, allocations: 4 kB / 1.128 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001954/0.9226, allocations: 227 kB / 1.128 GB, free: 9.547 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9226, allocations: 3.938 kB / 1.128 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003572/0.923, allocations: 71.91 kB / 1.128 GB, free: 9.473 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0003444/0.9233, allocations: 155.2 kB / 1.128 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003995/0.9238, allocations: 171.8 kB / 1.128 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9238, allocations: 4 kB / 1.128 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.9239, allocations: 75.89 kB / 1.129 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.9247, allocations: 151.7 kB / 1.129 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/0.9256, allocations: 0.6304 MB / 1.129 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.9259, allocations: 0.7833 MB / 1.13 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.9261, allocations: 70.92 kB / 1.13 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.9262, allocations: 23.44 kB / 1.13 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of SimCode: time 2.3e-07/0.9262, allocations: 0 / 1.13 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of Templates: time 0.009441/0.9356, allocations: 5.048 MB / 1.135 GB, free: 2.383 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches