Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.006657/0.006657, allocations: 103.4 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.001516/0.001517, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 461.9 MB / 0.7348 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.001201, allocations: 63.91 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3469, allocations: 157.4 MB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.9437/1.291, allocations: 167.5 MB / 1.371 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007525/1.298, allocations: 6.529 MB / 1.378 GB, free: 12.24 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005449/1.299, allocations: 15.47 kB / 1.378 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005457/1.299, allocations: 170 kB / 1.378 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002317/1.302, allocations: 0.8472 MB / 1.379 GB, free: 11.67 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009636/1.303, allocations: 321.9 kB / 1.379 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008634/1.304, allocations: 0.7327 MB / 1.38 GB, free: 11.03 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004464/1.304, allocations: 271.5 kB / 1.38 GB, free: 10.87 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/1.305, allocations: 0.5563 MB / 1.381 GB, free: 10.52 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/1.306, allocations: 269 kB / 1.381 GB, free: 10.37 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/1.306, allocations: 22.62 kB / 1.381 GB, free: 10.37 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008174/1.307, allocations: 343.3 kB / 1.381 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/1.307, allocations: 104.6 kB / 1.381 GB, free: 10.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/1.307, allocations: 162.9 kB / 1.381 GB, free: 10.02 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006912/1.308, allocations: 472.9 kB / 1.382 GB, free: 9.723 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.308, allocations: 4 kB / 1.382 GB, free: 9.719 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.904e-06/1.308, allocations: 0 / 1.382 GB, free: 9.719 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.695e-06/1.308, allocations: 0 / 1.382 GB, free: 9.719 MB / 1.076 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.000862/1.308, allocations: 0.618 MB / 1.382 GB, free: 9.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/1.309, allocations: 9.938 kB / 1.382 GB, free: 9.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/1.309, allocations: 61.67 kB / 1.383 GB, free: 9.129 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/1.309, allocations: 320.9 kB / 1.383 GB, free: 8.832 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/1.309, allocations: 19.41 kB / 1.383 GB, free: 8.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/1.309, allocations: 24.5 kB / 1.383 GB, free: 8.812 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/1.31, allocations: 321.3 kB / 1.383 GB, free: 8.586 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.31, allocations: 5.031 kB / 1.383 GB, free: 8.582 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/1.31, allocations: 10.44 kB / 1.383 GB, free: 8.574 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/1.31, allocations: 6.938 kB / 1.383 GB, free: 8.574 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/1.31, allocations: 202 kB / 1.383 GB, free: 8.484 MB / 1.076 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.001565/1.312, allocations: 1.536 MB / 1.385 GB, free: 7.031 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/1.312, allocations: 122.3 kB / 1.385 GB, free: 6.957 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/1.312, allocations: 93.75 kB / 1.385 GB, free: 6.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005894/1.313, allocations: 307.2 kB / 1.385 GB, free: 6.598 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/1.313, allocations: 31.66 kB / 1.385 GB, free: 6.559 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/1.313, allocations: 4 kB / 1.385 GB, free: 6.555 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0007536/1.314, allocations: 266.5 kB / 1.386 GB, free: 6.418 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/1.314, allocations: 52.59 kB / 1.386 GB, free: 6.355 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/1.314, allocations: 314 kB / 1.386 GB, free: 6.152 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/1.314, allocations: 30.73 kB / 1.386 GB, free: 6.117 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/1.314, allocations: 185.1 kB / 1.386 GB, free: 5.949 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/1.314, allocations: 45.17 kB / 1.386 GB, free: 5.91 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/1.315, allocations: 35.45 kB / 1.386 GB, free: 5.883 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.315, allocations: 337.6 kB / 1.387 GB, free: 5.551 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/1.315, allocations: 58.98 kB / 1.387 GB, free: 5.523 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/1.315, allocations: 120.9 kB / 1.387 GB, free: 5.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/1.315, allocations: 182.6 kB / 1.387 GB, free: 5.305 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.315, allocations: 4 kB / 1.387 GB, free: 5.301 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004342/1.316, allocations: 220.2 kB / 1.387 GB, free: 5.18 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.316, allocations: 8.031 kB / 1.387 GB, free: 5.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.316, allocations: 1.031 kB / 1.387 GB, free: 5.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.316, allocations: 2.094 kB / 1.387 GB, free: 5.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/1.316, allocations: 31.3 kB / 1.387 GB, free: 5.176 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.316, allocations: 12.27 kB / 1.387 GB, free: 5.168 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/1.316, allocations: 34.55 kB / 1.387 GB, free: 5.145 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/1.316, allocations: 10.88 kB / 1.387 GB, free: 5.141 MB / 1.076 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.0001356/1.316, allocations: 146.3 kB / 1.387 GB, free: 5.004 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/1.316, allocations: 26.03 kB / 1.387 GB, free: 4.992 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/1.317, allocations: 214 kB / 1.388 GB, free: 4.863 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.317, allocations: 5.375 kB / 1.388 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.317, allocations: 0 / 1.388 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.317, allocations: 1.531 kB / 1.388 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/1.318, allocations: 0.6839 MB / 1.388 GB, free: 4.277 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.318, allocations: 1.281 kB / 1.388 GB, free: 4.277 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/1.318, allocations: 34.81 kB / 1.388 GB, free: 4.266 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.318, allocations: 2.75 kB / 1.388 GB, free: 4.266 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/1.318, allocations: 7.281 kB / 1.388 GB, free: 4.262 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/1.318, allocations: 6.469 kB / 1.388 GB, free: 4.258 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.318, allocations: 2.688 kB / 1.388 GB, free: 4.258 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/1.319, allocations: 327.5 kB / 1.389 GB, free: 3.988 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/1.319, allocations: 122.5 kB / 1.389 GB, free: 3.863 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/1.319, allocations: 10.84 kB / 1.389 GB, free: 3.859 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/1.319, allocations: 13.36 kB / 1.389 GB, free: 3.852 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/1.319, allocations: 14.52 kB / 1.389 GB, free: 3.844 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/1.319, allocations: 5.062 kB / 1.389 GB, free: 3.844 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002025/1.319, allocations: 225.2 kB / 1.389 GB, free: 3.695 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.319, allocations: 4 kB / 1.389 GB, free: 3.691 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004034/1.32, allocations: 78.11 kB / 1.389 GB, free: 3.672 MB / 1.076 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.0003736/1.32, allocations: 159.5 kB / 1.389 GB, free: 3.547 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003967/1.32, allocations: 154.8 kB / 1.389 GB, free: 3.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.32, allocations: 1.094 kB / 1.389 GB, free: 3.48 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/1.321, allocations: 84.95 kB / 1.39 GB, free: 3.441 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/1.321, allocations: 150.2 kB / 1.39 GB, free: 3.371 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/1.322, allocations: 0.5409 MB / 1.39 GB, free: 2.965 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/1.323, allocations: 0.7814 MB / 1.391 GB, free: 2.223 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001795/1.323, allocations: 65.34 kB / 1.391 GB, free: 2.195 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/1.323, allocations: 23.47 kB / 1.391 GB, free: 2.188 MB / 1.076 GB Notification: Performance of SimCode: time 2.51e-07/1.323, allocations: 4 kB / 1.391 GB, free: 2.184 MB / 1.076 GB Notification: Performance of Templates: time 0.01323/1.336, allocations: 5.123 MB / 1.396 GB, free: 15.66 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches