Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001578/0.001578, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 197.7 kB / 16.53 MB, free: 6.664 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 67.89 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.6723, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1909/0.8633, allocations: 167.5 MB / 1.181 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008312/0.8716, allocations: 6.553 MB / 1.187 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.8722, allocations: 11.94 kB / 1.187 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005678/0.8727, allocations: 170.7 kB / 1.187 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.8749, allocations: 0.8439 MB / 1.188 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008826/0.8757, allocations: 325.9 kB / 1.189 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.8766, allocations: 0.7135 MB / 1.189 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004624/0.8771, allocations: 270.7 kB / 1.19 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.8782, allocations: 0.5525 MB / 1.19 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.8785, allocations: 271 kB / 1.19 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.8786, allocations: 24 kB / 1.19 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006302/0.8792, allocations: 339.2 kB / 1.191 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.8794, allocations: 103.6 kB / 1.191 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.8795, allocations: 167.3 kB / 1.191 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006017/0.8802, allocations: 462.5 kB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8802, allocations: 0 / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8802, allocations: 0 / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.8802, allocations: 3.984 kB / 1.191 GB, free: 15.54 MB / 0.9512 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.0008421/0.881, allocations: 0.6134 MB / 1.192 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.8811, allocations: 8.031 kB / 1.192 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.8814, allocations: 59.5 kB / 1.192 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.8818, allocations: 321.1 kB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.8818, allocations: 20.5 kB / 1.192 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.8819, allocations: 28 kB / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.8824, allocations: 307.7 kB / 1.193 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.8824, allocations: 7.938 kB / 1.193 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.8824, allocations: 12 kB / 1.193 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.8824, allocations: 8 kB / 1.193 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.8828, allocations: 197.6 kB / 1.193 GB, free: 13.86 MB / 0.9512 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.001481/0.8843, allocations: 1.542 MB / 1.194 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.8846, allocations: 128.2 kB / 1.195 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.8848, allocations: 92.8 kB / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006595/0.8855, allocations: 303.2 kB / 1.195 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.8855, allocations: 34.56 kB / 1.195 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.8855, allocations: 3.938 kB / 1.195 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0007223/0.8862, allocations: 269.4 kB / 1.195 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.8863, allocations: 55.41 kB / 1.195 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.8866, allocations: 312.5 kB / 1.196 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.8866, allocations: 25.7 kB / 1.196 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.8868, allocations: 184.1 kB / 1.196 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.8868, allocations: 51.28 kB / 1.196 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.8869, allocations: 37.7 kB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.887, allocations: 338.8 kB / 1.196 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.8872, allocations: 55.95 kB / 1.196 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.8874, allocations: 121 kB / 1.196 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.8877, allocations: 173 kB / 1.197 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.8877, allocations: 3.938 kB / 1.197 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004125/0.8882, allocations: 221 kB / 1.197 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.8882, allocations: 9.562 kB / 1.197 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8882, allocations: 3.938 kB / 1.197 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.8882, allocations: 4 kB / 1.197 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.8884, allocations: 35.92 kB / 1.197 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.8884, allocations: 4 kB / 1.197 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.8886, allocations: 19.83 kB / 1.197 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.8886, allocations: 12 kB / 1.197 GB, free: 9.562 MB / 0.9512 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.0001533/0.8888, allocations: 153.8 kB / 1.197 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.8888, allocations: 31.62 kB / 1.197 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.8893, allocations: 208.2 kB / 1.197 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.8893, allocations: 0 / 1.197 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.8893, allocations: 0 / 1.197 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.8893, allocations: 3.984 kB / 1.197 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009991/0.8903, allocations: 0.6835 MB / 1.198 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.8904, allocations: 0 / 1.198 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.8905, allocations: 31.86 kB / 1.198 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.8905, allocations: 8.219 kB / 1.198 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.8905, allocations: 8.062 kB / 1.198 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.8906, allocations: 7.938 kB / 1.198 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8906, allocations: 0 / 1.198 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.891, allocations: 341 kB / 1.198 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.8911, allocations: 116.7 kB / 1.198 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.8911, allocations: 4 kB / 1.198 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.8913, allocations: 15.92 kB / 1.198 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.8914, allocations: 19.92 kB / 1.198 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.8914, allocations: 4 kB / 1.198 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001985/0.8916, allocations: 227 kB / 1.199 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8916, allocations: 0 / 1.199 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003592/0.892, allocations: 71.84 kB / 1.199 GB, free: 7.512 MB / 0.9512 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.0003576/0.8923, allocations: 153.5 kB / 1.199 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.8927, allocations: 160 kB / 1.199 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.8928, allocations: 8.062 kB / 1.199 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.8929, allocations: 83.83 kB / 1.199 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/0.8938, allocations: 150.8 kB / 1.199 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000823/0.8946, allocations: 0.5406 MB / 1.2 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.8949, allocations: 0.7834 MB / 1.2 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001757/0.8951, allocations: 62.92 kB / 1.201 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.8952, allocations: 23.44 kB / 1.201 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.8952, allocations: 4 kB / 1.201 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of Templates: time 0.00981/0.905, allocations: 5.117 MB / 1.206 GB, free: 460 kB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches