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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001172/0.001172, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001382/0.001382, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.000331, allocations: 19.98 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6167/0.6171, allocations: 153.6 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.148/0.7652, allocations: 140.3 MB / 1.158 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007064/0.7723, allocations: 5.264 MB / 1.163 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.7727, allocations: 11.94 kB / 1.163 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007107/0.7734, allocations: 195.1 kB / 1.163 GB, free: 14.96 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.775, allocations: 0.5686 MB / 1.164 GB, free: 14.39 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009765/0.776, allocations: 346.2 kB / 1.164 GB, free: 14.05 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006572/0.7766, allocations: 432 kB / 1.164 GB, free: 13.63 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/0.777, allocations: 211.2 kB / 1.165 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009689/0.778, allocations: 434.7 kB / 1.165 GB, free: 13 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.7784, allocations: 199.3 kB / 1.165 GB, free: 12.8 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.7784, allocations: 16 kB / 1.165 GB, free: 12.79 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.7789, allocations: 195.7 kB / 1.165 GB, free: 12.6 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.779, allocations: 99.64 kB / 1.166 GB, free: 12.5 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.876e-05/0.7791, allocations: 85.52 kB / 1.166 GB, free: 12.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.7795, allocations: 311.3 kB / 1.166 GB, free: 12.11 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.7795, allocations: 0 / 1.166 GB, free: 12.11 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7796, allocations: 0 / 1.166 GB, free: 12.11 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.7796, allocations: 0 / 1.166 GB, free: 12.11 MB / 0.92 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.0008222/0.7804, allocations: 0.5573 MB / 1.167 GB, free: 11.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.7804, allocations: 11.98 kB / 1.167 GB, free: 11.49 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.7808, allocations: 67.42 kB / 1.167 GB, free: 11.42 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.7812, allocations: 297.4 kB / 1.167 GB, free: 11.09 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.7813, allocations: 20.56 kB / 1.167 GB, free: 11.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.7813, allocations: 24 kB / 1.167 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.7819, allocations: 327.6 kB / 1.167 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.7819, allocations: 0 / 1.167 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.7819, allocations: 12 kB / 1.167 GB, free: 10.69 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.7819, allocations: 8 kB / 1.167 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.7824, allocations: 217.5 kB / 1.167 GB, free: 10.47 MB / 0.92 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.00158/0.7839, allocations: 1.531 MB / 1.169 GB, free: 8.805 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.7842, allocations: 122.5 kB / 1.169 GB, free: 8.676 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004202/0.7846, allocations: 149 kB / 1.169 GB, free: 8.512 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.7847, allocations: 30.56 kB / 1.169 GB, free: 8.473 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.7847, allocations: 0 / 1.169 GB, free: 8.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0007852/0.7855, allocations: 294.5 kB / 1.17 GB, free: 8.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.7855, allocations: 55.36 kB / 1.17 GB, free: 8.113 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.7858, allocations: 308.5 kB / 1.17 GB, free: 7.801 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.7859, allocations: 29.7 kB / 1.17 GB, free: 7.766 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.786, allocations: 188 kB / 1.17 GB, free: 7.578 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.786, allocations: 43.44 kB / 1.17 GB, free: 7.535 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.786, allocations: 4 kB / 1.17 GB, free: 7.531 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7862, allocations: 338.8 kB / 1.17 GB, free: 7.191 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.7863, allocations: 63.95 kB / 1.171 GB, free: 7.129 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.7866, allocations: 121 kB / 1.171 GB, free: 6.992 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.7867, allocations: 75.91 kB / 1.171 GB, free: 6.918 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7868, allocations: 0 / 1.171 GB, free: 6.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004288/0.7872, allocations: 233.1 kB / 1.171 GB, free: 6.684 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.7872, allocations: 4 kB / 1.171 GB, free: 6.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7872, allocations: 4 kB / 1.171 GB, free: 6.676 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.7872, allocations: 4.156 kB / 1.171 GB, free: 6.672 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.7874, allocations: 31.98 kB / 1.171 GB, free: 6.641 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.7874, allocations: 4 kB / 1.171 GB, free: 6.637 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.7877, allocations: 47.61 kB / 1.171 GB, free: 6.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.7877, allocations: 8 kB / 1.171 GB, free: 6.582 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.7878, allocations: 149.8 kB / 1.171 GB, free: 6.426 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.7879, allocations: 27.72 kB / 1.171 GB, free: 6.398 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.7883, allocations: 213.5 kB / 1.171 GB, free: 6.188 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7884, allocations: 3.938 kB / 1.171 GB, free: 6.184 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7884, allocations: 4 kB / 1.171 GB, free: 6.18 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7884, allocations: 0 / 1.171 GB, free: 6.18 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.7895, allocations: 0.6912 MB / 1.172 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7895, allocations: 0 / 1.172 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.7896, allocations: 27.98 kB / 1.172 GB, free: 5.383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.7896, allocations: 7.953 kB / 1.172 GB, free: 5.375 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.7897, allocations: 8.219 kB / 1.172 GB, free: 5.367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.59e-05/0.7897, allocations: 15.98 kB / 1.172 GB, free: 5.352 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.7897, allocations: 4 kB / 1.172 GB, free: 5.348 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.7902, allocations: 429.5 kB / 1.173 GB, free: 4.848 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.7904, allocations: 124.8 kB / 1.173 GB, free: 4.707 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.7904, allocations: 0 / 1.173 GB, free: 4.707 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.7906, allocations: 23.92 kB / 1.173 GB, free: 4.684 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.7907, allocations: 15.98 kB / 1.173 GB, free: 4.668 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.7907, allocations: 4 kB / 1.173 GB, free: 4.664 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002126/0.7909, allocations: 227 kB / 1.173 GB, free: 4.445 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7909, allocations: 0 / 1.173 GB, free: 4.445 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003911/0.7913, allocations: 75.84 kB / 1.173 GB, free: 4.371 MB / 0.92 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 (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.0003723/0.7917, allocations: 157.8 kB / 1.173 GB, free: 4.219 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004334/0.7921, allocations: 163.8 kB / 1.173 GB, free: 4.059 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7922, allocations: 4 kB / 1.173 GB, free: 4.055 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.7924, allocations: 84.64 kB / 1.173 GB, free: 3.973 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.7931, allocations: 142.5 kB / 1.174 GB, free: 3.836 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.7941, allocations: 0.628 MB / 1.174 GB, free: 3.152 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.7945, allocations: 0.7875 MB / 1.175 GB, free: 2.34 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.7947, allocations: 62.92 kB / 1.175 GB, free: 2.281 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.7948, allocations: 19.44 kB / 1.175 GB, free: 2.262 MB / 0.92 GB Notification: Performance of SimCode: time 4.71e-07/0.7948, allocations: 7.938 kB / 1.175 GB, free: 2.254 MB / 0.92 GB Notification: Performance of Templates: time 0.009716/0.8045, allocations: 4.71 MB / 1.18 GB, free: 13.62 MB / 0.9356 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