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.0009573/0.0009573, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001019/0.001019, allocations: 168.7 kB / 15.95 MB, free: 204 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.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.71/2.71, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 10.97 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2616, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.159/0.4206, allocations: 152.2 MB / 1.207 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006813/0.4275, allocations: 6.056 MB / 1.213 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.4279, allocations: 11.94 kB / 1.213 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.4283, allocations: 123.1 kB / 1.213 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.4299, allocations: 0.5987 MB / 1.213 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.4307, allocations: 266.5 kB / 1.214 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000943/0.4316, allocations: 0.8655 MB / 1.214 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.432, allocations: 217.2 kB / 1.215 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009489/0.433, allocations: 458.1 kB / 1.215 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.4334, allocations: 263 kB / 1.215 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.4334, allocations: 16 kB / 1.215 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.4339, allocations: 191.5 kB / 1.215 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.434, allocations: 91.7 kB / 1.216 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/0.4341, allocations: 85.56 kB / 1.216 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.4345, allocations: 319.3 kB / 1.216 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4345, allocations: 3.938 kB / 1.216 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4346, allocations: 0 / 1.216 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.4346, allocations: 4 kB / 1.216 GB, free: 3.195 MB / 0.9669 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.0008662/0.4354, allocations: 0.5572 MB / 1.217 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4355, allocations: 8.031 kB / 1.217 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.4358, allocations: 67.5 kB / 1.217 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.4362, allocations: 309.3 kB / 1.217 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.4363, allocations: 20.56 kB / 1.217 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.4363, allocations: 24 kB / 1.217 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.4369, allocations: 323.7 kB / 1.217 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4369, allocations: 0 / 1.217 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.4369, allocations: 12 kB / 1.217 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4369, allocations: 8 kB / 1.217 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.4373, allocations: 209.6 kB / 1.217 GB, free: 1.562 MB / 0.9669 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.00146/0.4388, allocations: 1.531 MB / 1.219 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.4391, allocations: 126.5 kB / 1.219 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.4393, allocations: 100.7 kB / 1.219 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005861/0.4398, allocations: 315.2 kB / 1.219 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.4399, allocations: 30.56 kB / 1.219 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.4399, allocations: 0 / 1.219 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007457/0.4406, allocations: 293.4 kB / 1.22 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.4407, allocations: 51.41 kB / 1.22 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.441, allocations: 308.5 kB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.441, allocations: 29.7 kB / 1.22 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4412, allocations: 188.1 kB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.4412, allocations: 51.2 kB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.4412, allocations: 0 / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4414, allocations: 338.8 kB / 1.221 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4415, allocations: 67.89 kB / 1.221 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.4417, allocations: 117.1 kB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.4419, allocations: 79.89 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4419, allocations: 0 / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003985/0.4423, allocations: 217.2 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4423, allocations: 15.92 kB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4423, allocations: 4.156 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4424, allocations: 4 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.4425, allocations: 43.88 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4425, allocations: 0 / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.4427, allocations: 31.73 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.4428, allocations: 23.98 kB / 1.221 GB, free: 13.36 MB / 0.9825 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.0001341/0.4429, allocations: 149.7 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.443, allocations: 31.62 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.4434, allocations: 214.7 kB / 1.222 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4434, allocations: 4 kB / 1.222 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4434, allocations: 3.953 kB / 1.222 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4434, allocations: 3.984 kB / 1.222 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009702/0.4444, allocations: 0.6836 MB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4444, allocations: 3.938 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.4446, allocations: 31.92 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4446, allocations: 8.219 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4446, allocations: 4 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4446, allocations: 4 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4446, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.445, allocations: 345 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4452, allocations: 124.7 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.4452, allocations: 4 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4454, allocations: 27.88 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.4454, allocations: 11.94 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.4455, allocations: 7.984 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001999/0.4457, allocations: 223.1 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4457, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003579/0.446, allocations: 75.84 kB / 1.223 GB, free: 11.28 MB / 0.9825 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.0003315/0.4464, allocations: 154.6 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.4468, allocations: 163.8 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4468, allocations: 320 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.447, allocations: 95.81 kB / 1.224 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000775/0.4477, allocations: 140 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008/0.4486, allocations: 0.632 MB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4489, allocations: 0.7797 MB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.4491, allocations: 70.91 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.4492, allocations: 23.44 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.4492, allocations: 0 / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.008733/0.4579, allocations: 4.701 MB / 1.23 GB, free: 4.539 MB / 0.9825 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