Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00734/0.00734, allocations: 97.3 kB / 15.73 MB, free: 6.047 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.001557/0.001557, allocations: 196.2 kB / 16.68 MB, free: 5.973 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.839/2.839, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 63.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.363, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.9054/1.268, allocations: 168 MB / 1.385 GB, free: 2.32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008885/1.277, allocations: 6.555 MB / 1.391 GB, free: 13.02 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005811/1.278, allocations: 12.12 kB / 1.391 GB, free: 13.01 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005924/1.278, allocations: 178.5 kB / 1.391 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/1.281, allocations: 0.8816 MB / 1.392 GB, free: 12.19 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/1.282, allocations: 329.9 kB / 1.392 GB, free: 11.95 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008759/1.283, allocations: 0.7178 MB / 1.393 GB, free: 11.54 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/1.283, allocations: 228.6 kB / 1.393 GB, free: 11.39 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/1.284, allocations: 0.5717 MB / 1.394 GB, free: 11.04 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/1.285, allocations: 265.1 kB / 1.394 GB, free: 10.89 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/1.285, allocations: 26 kB / 1.394 GB, free: 10.88 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008213/1.286, allocations: 343.9 kB / 1.395 GB, free: 10.7 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/1.286, allocations: 108.8 kB / 1.395 GB, free: 10.63 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/1.286, allocations: 174.7 kB / 1.395 GB, free: 10.52 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0007858/1.287, allocations: 470.4 kB / 1.395 GB, free: 10.22 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.287, allocations: 1.156 kB / 1.395 GB, free: 10.22 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.382e-06/1.287, allocations: 0 / 1.395 GB, free: 10.22 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.287, allocations: 0 / 1.395 GB, free: 10.22 MB / 1.092 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.001037/1.288, allocations: 0.6213 MB / 1.396 GB, free: 9.66 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.288, allocations: 12.88 kB / 1.396 GB, free: 9.656 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/1.288, allocations: 67.22 kB / 1.396 GB, free: 9.621 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/1.289, allocations: 327.5 kB / 1.396 GB, free: 9.316 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/1.289, allocations: 23.81 kB / 1.396 GB, free: 9.305 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/1.289, allocations: 24.75 kB / 1.396 GB, free: 9.297 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/1.289, allocations: 313.8 kB / 1.397 GB, free: 9.082 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.289, allocations: 1.125 kB / 1.397 GB, free: 9.082 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/1.289, allocations: 14.34 kB / 1.397 GB, free: 9.07 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.289, allocations: 6.656 kB / 1.397 GB, free: 9.07 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/1.29, allocations: 205.4 kB / 1.397 GB, free: 8.973 MB / 1.092 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.001687/1.292, allocations: 1.54 MB / 1.398 GB, free: 7.516 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/1.292, allocations: 115.5 kB / 1.398 GB, free: 7.445 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/1.292, allocations: 82.72 kB / 1.398 GB, free: 7.402 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/1.293, allocations: 302.9 kB / 1.399 GB, free: 7.094 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.293, allocations: 35.66 kB / 1.399 GB, free: 7.051 MB / 1.092 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/1.293, allocations: 1.156 kB / 1.399 GB, free: 7.051 MB / 1.092 GB Notification: Performance of matching and sorting (n=13): time 0.0008085/1.294, allocations: 273.5 kB / 1.399 GB, free: 6.906 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/1.294, allocations: 53.34 kB / 1.399 GB, free: 6.844 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/1.294, allocations: 313.2 kB / 1.399 GB, free: 6.637 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/1.294, allocations: 30.8 kB / 1.399 GB, free: 6.602 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/1.294, allocations: 182.2 kB / 1.4 GB, free: 6.438 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/1.294, allocations: 44.58 kB / 1.4 GB, free: 6.398 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/1.294, allocations: 44.72 kB / 1.4 GB, free: 6.363 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.294, allocations: 341.6 kB / 1.4 GB, free: 6.027 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/1.295, allocations: 59.05 kB / 1.4 GB, free: 6 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/1.295, allocations: 119.4 kB / 1.4 GB, free: 5.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/1.295, allocations: 176.5 kB / 1.4 GB, free: 5.789 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.295, allocations: 1.219 kB / 1.4 GB, free: 5.789 MB / 1.092 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004761/1.296, allocations: 220.5 kB / 1.401 GB, free: 5.664 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.296, allocations: 9.984 kB / 1.401 GB, free: 5.66 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.296, allocations: 5.5 kB / 1.401 GB, free: 5.656 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.296, allocations: 6.844 kB / 1.401 GB, free: 5.652 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/1.296, allocations: 29.67 kB / 1.401 GB, free: 5.648 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.296, allocations: 2.406 kB / 1.401 GB, free: 5.648 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/1.296, allocations: 26.16 kB / 1.401 GB, free: 5.633 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/1.296, allocations: 7.344 kB / 1.401 GB, free: 5.633 MB / 1.092 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.0001686/1.296, allocations: 154.6 kB / 1.401 GB, free: 5.488 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/1.296, allocations: 32.94 kB / 1.401 GB, free: 5.469 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000553/1.297, allocations: 208.6 kB / 1.401 GB, free: 5.34 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.297, allocations: 6.719 kB / 1.401 GB, free: 5.336 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.297, allocations: 0 / 1.401 GB, free: 5.336 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.297, allocations: 3.938 kB / 1.401 GB, free: 5.332 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/1.298, allocations: 0.6814 MB / 1.402 GB, free: 4.754 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.298, allocations: 1.219 kB / 1.402 GB, free: 4.754 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/1.298, allocations: 25.98 kB / 1.402 GB, free: 4.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/1.298, allocations: 2.594 kB / 1.402 GB, free: 4.75 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/1.298, allocations: 16.89 kB / 1.402 GB, free: 4.738 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/1.298, allocations: 10.16 kB / 1.402 GB, free: 4.73 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.298, allocations: 2.281 kB / 1.402 GB, free: 4.73 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005877/1.299, allocations: 335 kB / 1.402 GB, free: 4.457 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/1.299, allocations: 127.9 kB / 1.402 GB, free: 4.328 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/1.299, allocations: 3.219 kB / 1.402 GB, free: 4.328 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/1.299, allocations: 17.73 kB / 1.402 GB, free: 4.316 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/1.299, allocations: 9.094 kB / 1.402 GB, free: 4.312 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/1.299, allocations: 14.33 kB / 1.402 GB, free: 4.305 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002431/1.3, allocations: 216.5 kB / 1.402 GB, free: 4.164 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.3, allocations: 0 / 1.402 GB, free: 4.164 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004223/1.3, allocations: 75.83 kB / 1.403 GB, free: 4.148 MB / 1.092 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.0003962/1.3, allocations: 161.8 kB / 1.403 GB, free: 4.023 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004264/1.301, allocations: 156.8 kB / 1.403 GB, free: 3.953 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.301, allocations: 5.562 kB / 1.403 GB, free: 3.949 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/1.301, allocations: 78.06 kB / 1.403 GB, free: 3.914 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/1.302, allocations: 148.6 kB / 1.403 GB, free: 3.848 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/1.303, allocations: 0.5438 MB / 1.404 GB, free: 3.445 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/1.303, allocations: 0.7811 MB / 1.404 GB, free: 2.703 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001982/1.303, allocations: 65.22 kB / 1.404 GB, free: 2.672 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/1.303, allocations: 26.98 kB / 1.404 GB, free: 2.66 MB / 1.092 GB Notification: Performance of SimCode: time 4.01e-07/1.303, allocations: 0 / 1.404 GB, free: 2.66 MB / 1.092 GB Notification: Performance of Templates: time 0.01081/1.314, allocations: 5.165 MB / 1.409 GB, free: 108 kB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches