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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.351/2.351, allocations: 390.3 MB / 402.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 180.3 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.3 MB / 0.7915 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 91.95 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.755e-05/3.757e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3064, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.11/5.417, allocations: 1.868 GB / 3.087 GB, free: 365.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/5.417, allocations: 88.14 kB / 3.087 GB, free: 365.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5632/5.98, allocations: 300.5 MB / 3.38 GB, free: 97.82 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.483e-06/5.98, allocations: 3.938 kB / 3.38 GB, free: 97.82 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.998e-05/5.98, allocations: 11.98 kB / 3.38 GB, free: 97.81 MB / 1.167 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.001356/5.982, allocations: 0.6509 MB / 3.381 GB, free: 97.11 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/5.982, allocations: 12.03 kB / 3.381 GB, free: 97.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004186/5.982, allocations: 55.59 kB / 3.381 GB, free: 97.05 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/5.983, allocations: 313.9 kB / 3.381 GB, free: 96.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/5.983, allocations: 28.44 kB / 3.381 GB, free: 96.67 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/5.983, allocations: 31.95 kB / 3.381 GB, free: 96.64 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/5.983, allocations: 291.8 kB / 3.382 GB, free: 96.32 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/5.983, allocations: 3.938 kB / 3.382 GB, free: 96.32 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/5.983, allocations: 8 kB / 3.382 GB, free: 96.31 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/5.983, allocations: 4 kB / 3.382 GB, free: 96.31 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/5.984, allocations: 169.7 kB / 3.382 GB, free: 96.14 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.001355/5.985, allocations: 1.534 MB / 3.383 GB, free: 94.47 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/5.985, allocations: 90.55 kB / 3.384 GB, free: 94.38 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.718e-05/5.985, allocations: 68.84 kB / 3.384 GB, free: 94.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/5.986, allocations: 299.3 kB / 3.384 GB, free: 93.96 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/5.986, allocations: 34.56 kB / 3.384 GB, free: 93.91 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/5.986, allocations: 3.938 kB / 3.384 GB, free: 93.91 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.000435/5.986, allocations: 177.5 kB / 3.384 GB, free: 93.73 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/5.986, allocations: 59.41 kB / 3.384 GB, free: 93.66 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/5.986, allocations: 270.7 kB / 3.384 GB, free: 93.39 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/5.986, allocations: 33.7 kB / 3.384 GB, free: 93.35 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/5.986, allocations: 176.2 kB / 3.385 GB, free: 93.18 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/5.986, allocations: 39.36 kB / 3.385 GB, free: 93.14 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/5.986, allocations: 4 kB / 3.385 GB, free: 93.13 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.889e-05/5.987, allocations: 342.8 kB / 3.385 GB, free: 92.79 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/5.987, allocations: 44.02 kB / 3.385 GB, free: 92.75 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/5.987, allocations: 108.4 kB / 3.385 GB, free: 92.62 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/5.987, allocations: 59.91 kB / 3.385 GB, free: 92.56 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/5.987, allocations: 0 / 3.385 GB, free: 92.56 MB / 1.167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002627/5.987, allocations: 185.1 kB / 3.385 GB, free: 92.37 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/5.987, allocations: 4 kB / 3.385 GB, free: 92.37 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/5.987, allocations: 0 / 3.385 GB, free: 92.37 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/5.987, allocations: 7.984 kB / 3.385 GB, free: 92.36 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/5.987, allocations: 39.92 kB / 3.385 GB, free: 92.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/5.987, allocations: 8.156 kB / 3.385 GB, free: 92.31 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/5.988, allocations: 35.73 kB / 3.385 GB, free: 92.28 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/5.988, allocations: 19.98 kB / 3.385 GB, free: 92.26 MB / 1.167 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/5.988, allocations: 112.9 kB / 3.386 GB, free: 92.14 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/5.988, allocations: 27.7 kB / 3.386 GB, free: 92.11 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/5.988, allocations: 180.4 kB / 3.386 GB, free: 91.93 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/5.988, allocations: 0 / 3.386 GB, free: 91.93 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/5.988, allocations: 4 kB / 3.386 GB, free: 91.93 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/5.988, allocations: 0 / 3.386 GB, free: 91.93 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006934/5.989, allocations: 0.6444 MB / 3.386 GB, free: 91.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/5.989, allocations: 0 / 3.386 GB, free: 91.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/5.989, allocations: 31.92 kB / 3.386 GB, free: 91.17 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/5.989, allocations: 4 kB / 3.386 GB, free: 91.17 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/5.989, allocations: 8 kB / 3.386 GB, free: 91.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/5.989, allocations: 0 / 3.386 GB, free: 91.16 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/5.989, allocations: 4.219 kB / 3.386 GB, free: 91.16 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/5.989, allocations: 392.7 kB / 3.387 GB, free: 90.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.651e-05/5.989, allocations: 120.7 kB / 3.387 GB, free: 90.56 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/5.989, allocations: 4 kB / 3.387 GB, free: 90.55 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/5.99, allocations: 27.94 kB / 3.387 GB, free: 90.53 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/5.99, allocations: 15.92 kB / 3.387 GB, free: 90.51 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/5.99, allocations: 4 kB / 3.387 GB, free: 90.51 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001625/5.99, allocations: 222.2 kB / 3.387 GB, free: 90.29 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.21e-07/5.99, allocations: 0 / 3.387 GB, free: 90.29 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000758/5.991, allocations: 187.8 kB / 3.387 GB, free: 90.11 MB / 1.167 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0018/5.992, allocations: 1.184 MB / 3.389 GB, free: 88.89 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002401/5.993, allocations: 123.8 kB / 3.389 GB, free: 88.77 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/5.993, allocations: 0 / 3.389 GB, free: 88.77 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/5.993, allocations: 67.86 kB / 3.389 GB, free: 88.71 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007124/5.993, allocations: 145.9 kB / 3.389 GB, free: 88.57 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/5.994, allocations: 372.6 kB / 3.389 GB, free: 88.16 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/5.994, allocations: 0.7836 MB / 3.39 GB, free: 87.35 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002167/5.994, allocations: 63.05 kB / 3.39 GB, free: 87.29 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/5.995, allocations: 31.38 kB / 3.39 GB, free: 87.26 MB / 1.167 GB Notification: Performance of SimCode: time 4.81e-07/5.995, allocations: 0 / 3.39 GB, free: 87.26 MB / 1.167 GB Notification: Performance of Templates: time 0.0257/6.02, allocations: 22.59 MB / 3.412 GB, free: 64.71 MB / 1.167 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","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches