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.00161/0.00161, allocations: 107.3 kB / 15.99 MB, free: 5.91 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.001536/0.001536, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.422/1.422, allocations: 222.9 MB / 240.6 MB, free: 15.26 MB / 206.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.551/2.551, allocations: 437 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002556/0.002556, allocations: 67.2 kB / 0.8694 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3344, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.793/1.127, allocations: 165.3 MB / 1.179 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008884/1.136, allocations: 6.493 MB / 1.185 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005929/1.137, allocations: 13.97 kB / 1.185 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006312/1.138, allocations: 138.3 kB / 1.185 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002393/1.14, allocations: 0.7905 MB / 1.186 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/1.141, allocations: 298.2 kB / 1.186 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009825/1.142, allocations: 0.7189 MB / 1.187 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/1.143, allocations: 268.9 kB / 1.187 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/1.144, allocations: 0.5463 MB / 1.188 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/1.144, allocations: 286.3 kB / 1.188 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/1.144, allocations: 23.12 kB / 1.188 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007371/1.145, allocations: 349.6 kB / 1.189 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/1.145, allocations: 109.6 kB / 1.189 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001958/1.146, allocations: 163.6 kB / 1.189 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004953/1.146, allocations: 341.7 kB / 1.189 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/1.146, allocations: 1 kB / 1.189 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/1.146, allocations: 0 / 1.189 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.146, allocations: 0 / 1.189 GB, free: 2.293 MB / 0.8887 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.001021/1.147, allocations: 0.6068 MB / 1.19 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.147, allocations: 13.34 kB / 1.19 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/1.148, allocations: 66.98 kB / 1.19 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/1.148, allocations: 305.4 kB / 1.19 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/1.148, allocations: 23.03 kB / 1.19 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/1.148, allocations: 23.72 kB / 1.19 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/1.149, allocations: 322 kB / 1.19 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.149, allocations: 0 / 1.19 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/1.149, allocations: 12.94 kB / 1.19 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.149, allocations: 5.062 kB / 1.19 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/1.149, allocations: 200.3 kB / 1.191 GB, free: 1.078 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.001772/1.151, allocations: 1.53 MB / 1.192 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/1.151, allocations: 131.5 kB / 1.192 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/1.151, allocations: 86.88 kB / 1.192 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006889/1.152, allocations: 310.7 kB / 1.193 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/1.152, allocations: 30.56 kB / 1.193 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/1.152, allocations: 0 / 1.193 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0007346/1.153, allocations: 266.5 kB / 1.193 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.153, allocations: 53.84 kB / 1.193 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/1.153, allocations: 317.9 kB / 1.193 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/1.153, allocations: 29.7 kB / 1.193 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/1.154, allocations: 181.7 kB / 1.193 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/1.154, allocations: 52.83 kB / 1.194 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/1.154, allocations: 34.95 kB / 1.194 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001717/1.154, allocations: 338.2 kB / 1.194 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/1.154, allocations: 59.11 kB / 1.194 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/1.154, allocations: 114 kB / 1.194 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/1.155, allocations: 171.6 kB / 1.194 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.155, allocations: 1.594 kB / 1.194 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004712/1.155, allocations: 227.5 kB / 1.194 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.155, allocations: 8.281 kB / 1.194 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.155, allocations: 5.969 kB / 1.194 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/1.155, allocations: 1.75 kB / 1.194 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/1.155, allocations: 35.05 kB / 1.194 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.155, allocations: 1.812 kB / 1.195 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/1.155, allocations: 34.08 kB / 1.195 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/1.156, allocations: 10.95 kB / 1.195 GB, free: 13.73 MB / 0.9044 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.0001562/1.156, allocations: 156.7 kB / 1.195 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/1.156, allocations: 28.94 kB / 1.195 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/1.156, allocations: 204.6 kB / 1.195 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.156, allocations: 7.734 kB / 1.195 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.156, allocations: 2.062 kB / 1.195 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.156, allocations: 0 / 1.195 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/1.157, allocations: 0.6833 MB / 1.196 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.157, allocations: 1.562 kB / 1.196 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/1.158, allocations: 30.19 kB / 1.196 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/1.158, allocations: 6.703 kB / 1.196 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/1.158, allocations: 7.469 kB / 1.196 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/1.158, allocations: 6.625 kB / 1.196 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.158, allocations: 6.297 kB / 1.196 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/1.158, allocations: 335.5 kB / 1.196 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/1.158, allocations: 116.1 kB / 1.196 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/1.158, allocations: 10.64 kB / 1.196 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/1.159, allocations: 21.98 kB / 1.196 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/1.159, allocations: 21.39 kB / 1.196 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/1.159, allocations: 5.219 kB / 1.196 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002414/1.159, allocations: 221.2 kB / 1.196 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.159, allocations: 0 / 1.196 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003945/1.159, allocations: 75.7 kB / 1.196 GB, free: 12.25 MB / 0.9044 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.0004271/1.16, allocations: 165.3 kB / 1.197 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000384/1.16, allocations: 161.3 kB / 1.197 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/1.16, allocations: 0 / 1.197 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/1.16, allocations: 81.12 kB / 1.197 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008264/1.161, allocations: 157.3 kB / 1.197 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/1.162, allocations: 0.6612 MB / 1.198 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/1.163, allocations: 0.7861 MB / 1.198 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/1.163, allocations: 25.12 kB / 1.198 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of SimCode: time 7.91e-07/1.163, allocations: 4 kB / 1.198 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.00774/1.171, allocations: 4.553 MB / 1.203 GB, free: 8.332 MB / 0.9044 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches