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.001834/0.001834, 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.001991/0.001991, allocations: 191.3 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.536/1.536, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.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.729/2.729, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 71.88 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.6829, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2241/0.907, allocations: 165.3 MB / 1.178 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00911/0.9162, allocations: 6.553 MB / 1.184 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006602/0.9169, allocations: 11.94 kB / 1.184 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000694/0.9176, allocations: 131.1 kB / 1.185 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002586/0.9203, allocations: 0.786 MB / 1.185 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.9213, allocations: 303.3 kB / 1.186 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00125/0.9226, allocations: 1.01 MB / 1.187 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000452/0.923, allocations: 230 kB / 1.187 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.9242, allocations: 0.5059 MB / 1.187 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.9247, allocations: 282.9 kB / 1.188 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.9247, allocations: 19.94 kB / 1.188 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008204/0.9256, allocations: 403 kB / 1.188 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.9257, allocations: 99.64 kB / 1.188 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.9259, allocations: 159.1 kB / 1.188 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007197/0.9266, allocations: 478.5 kB / 1.189 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.9267, allocations: 0 / 1.189 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.879e-06/0.9267, allocations: 0 / 1.189 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.9267, allocations: 3.938 kB / 1.189 GB, free: 1.887 MB / 0.9356 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.00115/0.9278, allocations: 0.6156 MB / 1.189 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.9279, allocations: 12.03 kB / 1.189 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003366/0.9282, allocations: 55.5 kB / 1.189 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.9287, allocations: 313.2 kB / 1.19 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.9288, allocations: 20.56 kB / 1.19 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.9288, allocations: 24 kB / 1.19 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006293/0.9295, allocations: 319.7 kB / 1.19 GB, free: 440 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.9295, allocations: 0 / 1.19 GB, free: 440 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.9295, allocations: 8 kB / 1.19 GB, free: 432 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.9295, allocations: 8 kB / 1.19 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.93, allocations: 201.6 kB / 1.19 GB, free: 216 kB / 0.9356 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.001853/0.9319, allocations: 1.546 MB / 1.192 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.9321, allocations: 118.5 kB / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.9324, allocations: 92.73 kB / 1.192 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007676/0.9331, allocations: 307.2 kB / 1.192 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.9332, allocations: 34.56 kB / 1.192 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.9332, allocations: 0 / 1.192 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0008274/0.934, allocations: 279.2 kB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.9341, allocations: 51.41 kB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.9345, allocations: 308.6 kB / 1.193 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.9345, allocations: 33.69 kB / 1.193 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.9347, allocations: 180.1 kB / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.9348, allocations: 47.3 kB / 1.193 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-05/0.9349, allocations: 33.72 kB / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.9351, allocations: 342.8 kB / 1.194 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.9352, allocations: 59.89 kB / 1.194 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.9355, allocations: 117.1 kB / 1.194 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.9359, allocations: 177 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.9359, allocations: 3.938 kB / 1.194 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004667/0.9364, allocations: 213.1 kB / 1.194 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.9364, allocations: 8.156 kB / 1.194 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9364, allocations: 4 kB / 1.194 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9364, allocations: 0 / 1.194 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.9366, allocations: 39.91 kB / 1.194 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.9367, allocations: 4 kB / 1.194 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.9369, allocations: 31.77 kB / 1.194 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.9369, allocations: 11.94 kB / 1.194 GB, free: 11.91 MB / 0.9512 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.0002084/0.9371, allocations: 161.7 kB / 1.194 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.9372, allocations: 27.62 kB / 1.194 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.9377, allocations: 204.3 kB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.9377, allocations: 4 kB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9377, allocations: 0 / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.9377, allocations: 0 / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.9389, allocations: 0.6795 MB / 1.195 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.9389, allocations: 8.203 kB / 1.195 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.939, allocations: 35.92 kB / 1.195 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.939, allocations: 4 kB / 1.195 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.9391, allocations: 0 / 1.195 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.9391, allocations: 7.938 kB / 1.195 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.9391, allocations: 8.062 kB / 1.195 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.9396, allocations: 334 kB / 1.196 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.9397, allocations: 116.7 kB / 1.196 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.9398, allocations: 8 kB / 1.196 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.94, allocations: 23.86 kB / 1.196 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.94, allocations: 19.92 kB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.9401, allocations: 4 kB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002807/0.9404, allocations: 223 kB / 1.196 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9404, allocations: 0 / 1.196 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004798/0.9409, allocations: 71.91 kB / 1.196 GB, free: 9.852 MB / 0.9512 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.0005204/0.9414, allocations: 160.9 kB / 1.196 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005272/0.9419, allocations: 155.7 kB / 1.196 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9419, allocations: 0 / 1.196 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.9422, allocations: 83.83 kB / 1.196 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008752/0.9431, allocations: 153.6 kB / 1.197 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.9441, allocations: 0.6205 MB / 1.197 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.9446, allocations: 0.7836 MB / 1.198 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.9449, allocations: 62.94 kB / 1.198 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.9449, allocations: 23.44 kB / 1.198 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/0.9449, allocations: 0 / 1.198 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of Templates: time 0.01086/0.9558, allocations: 4.865 MB / 1.203 GB, free: 2.965 MB / 0.9512 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches