Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001096/0.001096, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001456/0.001456, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.2 MB / 0.6642 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 59.91 kB / 0.8118 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7655/0.7667, allocations: 140.4 MB / 0.9489 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1996/0.9664, allocations: 165.3 MB / 1.11 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007859/0.9743, allocations: 6.55 MB / 1.117 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006672/0.975, allocations: 11.94 kB / 1.117 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.9757, allocations: 135.1 kB / 1.117 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.9779, allocations: 0.7821 MB / 1.118 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009027/0.9788, allocations: 290.8 kB / 1.118 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.98, allocations: 1.014 MB / 1.119 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.9804, allocations: 234.1 kB / 1.119 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.9816, allocations: 0.5176 MB / 1.12 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.982, allocations: 290.8 kB / 1.12 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.9821, allocations: 16 kB / 1.12 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007661/0.9828, allocations: 391 kB / 1.12 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.983, allocations: 107.6 kB / 1.12 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.9832, allocations: 151.2 kB / 1.121 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006237/0.9838, allocations: 482.4 kB / 1.121 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9838, allocations: 4 kB / 1.121 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.32e-07/0.9838, allocations: 0 / 1.121 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.9838, allocations: 0 / 1.121 GB, free: 1.242 MB / 0.8731 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.0009048/0.9848, allocations: 0.6155 MB / 1.122 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.9848, allocations: 8.031 kB / 1.122 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/0.9851, allocations: 63.5 kB / 1.122 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.9855, allocations: 305.2 kB / 1.122 GB, free: 172 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.9856, allocations: 28.56 kB / 1.122 GB, free: 144 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.9856, allocations: 24 kB / 1.122 GB, free: 120 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/0.9861, allocations: 311.7 kB / 1.122 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9862, allocations: 7.938 kB / 1.122 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.9862, allocations: 12 kB / 1.122 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.9862, allocations: 8 kB / 1.122 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.9866, allocations: 197.6 kB / 1.123 GB, free: 15.56 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.001518/0.9881, allocations: 1.542 MB / 1.124 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.9884, allocations: 118.5 kB / 1.124 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.9886, allocations: 96.81 kB / 1.124 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006327/0.9892, allocations: 303.2 kB / 1.125 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.9893, allocations: 34.56 kB / 1.125 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.9893, allocations: 0 / 1.125 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0007413/0.99, allocations: 273.4 kB / 1.125 GB, free: 13 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.9901, allocations: 55.41 kB / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.9904, allocations: 312.5 kB / 1.125 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.9904, allocations: 29.7 kB / 1.125 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.9905, allocations: 188.1 kB / 1.125 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.9906, allocations: 43.39 kB / 1.125 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.9907, allocations: 37.62 kB / 1.125 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.9908, allocations: 338.8 kB / 1.126 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.991, allocations: 59.95 kB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.9912, allocations: 113.1 kB / 1.126 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.9915, allocations: 180.9 kB / 1.126 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9915, allocations: 3.938 kB / 1.126 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004074/0.9919, allocations: 209.2 kB / 1.126 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.9919, allocations: 5.406 kB / 1.126 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.992, allocations: 4 kB / 1.126 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.992, allocations: 3.984 kB / 1.126 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.9922, allocations: 36.14 kB / 1.126 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.9922, allocations: 3.938 kB / 1.126 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.9924, allocations: 35.73 kB / 1.126 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.9924, allocations: 8 kB / 1.126 GB, free: 11.28 MB / 0.8887 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.0001454/0.9926, allocations: 149.8 kB / 1.127 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.9926, allocations: 31.56 kB / 1.127 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.9931, allocations: 208.8 kB / 1.127 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.9931, allocations: 4 kB / 1.127 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9931, allocations: 0 / 1.127 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.9931, allocations: 3.984 kB / 1.127 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009342/0.994, allocations: 0.6796 MB / 1.127 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.9941, allocations: 4 kB / 1.127 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.9942, allocations: 27.92 kB / 1.127 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.9942, allocations: 4 kB / 1.127 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.9942, allocations: 8.219 kB / 1.128 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.9942, allocations: 12 kB / 1.128 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9942, allocations: 4 kB / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.9946, allocations: 337.8 kB / 1.128 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.631e-05/0.9947, allocations: 112.8 kB / 1.128 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.9948, allocations: 8 kB / 1.128 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.995, allocations: 27.77 kB / 1.128 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.9951, allocations: 11.98 kB / 1.128 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.9951, allocations: 8 kB / 1.128 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002001/0.9953, allocations: 227 kB / 1.128 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9953, allocations: 0 / 1.128 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003642/0.9957, allocations: 67.91 kB / 1.128 GB, free: 9.215 MB / 0.8887 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.0003414/0.996, allocations: 167.8 kB / 1.128 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.9964, allocations: 152 kB / 1.129 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9964, allocations: 4 kB / 1.129 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.9966, allocations: 83.88 kB / 1.129 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007985/0.9974, allocations: 134.6 kB / 1.129 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009052/0.9983, allocations: 0.636 MB / 1.129 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.9987, allocations: 0.7797 MB / 1.13 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000229/0.9989, allocations: 66.92 kB / 1.13 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.999, allocations: 23.44 kB / 1.13 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of SimCode: time 6.32e-07/0.999, allocations: 0 / 1.13 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of Templates: time 0.009553/1.009, allocations: 4.88 MB / 1.135 GB, free: 2.305 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches