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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002516/0.002516, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003256/0.003256, allocations: 177.6 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.328/3.328, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.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=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0.875 kB / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.28e-05, allocations: 4.703 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2461/0.2462, allocations: 163.7 MB / 1.037 GB, free: 2.324 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.2565, allocations: 6.704 MB / 1.044 GB, free: 11.6 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.2569, allocations: 19.81 kB / 1.044 GB, free: 11.58 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.2575, allocations: 178.6 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.2598, allocations: 0.8551 MB / 1.045 GB, free: 10.55 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.2609, allocations: 371 kB / 1.045 GB, free: 10.18 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009609/0.2618, allocations: 0.686 MB / 1.046 GB, free: 9.496 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.2622, allocations: 215.3 kB / 1.046 GB, free: 9.289 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.2641, allocations: 0.8097 MB / 1.047 GB, free: 8.477 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.2645, allocations: 243.4 kB / 1.047 GB, free: 8.238 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.2646, allocations: 27.94 kB / 1.047 GB, free: 8.211 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009096/0.2655, allocations: 291.2 kB / 1.048 GB, free: 7.926 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.2657, allocations: 111.6 kB / 1.048 GB, free: 7.816 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.2658, allocations: 115.7 kB / 1.048 GB, free: 7.703 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008049/0.2666, allocations: 482.6 kB / 1.048 GB, free: 7.23 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2666, allocations: 0 / 1.048 GB, free: 7.23 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2666, allocations: 0 / 1.048 GB, free: 7.23 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.2666, allocations: 4 kB / 1.048 GB, free: 7.227 MB / 1.01 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.001066/0.2677, allocations: 0.6666 MB / 1.049 GB, free: 6.52 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2678, allocations: 12.03 kB / 1.049 GB, free: 6.508 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.2681, allocations: 83.67 kB / 1.049 GB, free: 6.426 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.2687, allocations: 274.8 kB / 1.049 GB, free: 6.133 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.2687, allocations: 20.66 kB / 1.049 GB, free: 6.113 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.2687, allocations: 24 kB / 1.049 GB, free: 6.09 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.2693, allocations: 308.8 kB / 1.05 GB, free: 5.75 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2693, allocations: 0 / 1.05 GB, free: 5.75 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.2694, allocations: 15.94 kB / 1.05 GB, free: 5.734 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2694, allocations: 4 kB / 1.05 GB, free: 5.73 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.2697, allocations: 145.9 kB / 1.05 GB, free: 5.59 MB / 1.01 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.001923/0.2716, allocations: 1.496 MB / 1.051 GB, free: 4.027 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.2719, allocations: 103 kB / 1.051 GB, free: 3.914 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.272, allocations: 59.66 kB / 1.051 GB, free: 3.852 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004689/0.2725, allocations: 67.92 kB / 1.051 GB, free: 3.785 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.2725, allocations: 41.39 kB / 1.051 GB, free: 3.734 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.2725, allocations: 0 / 1.051 GB, free: 3.734 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0006798/0.2732, allocations: 216.4 kB / 1.052 GB, free: 3.52 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.2733, allocations: 55.66 kB / 1.052 GB, free: 3.453 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.2736, allocations: 300.3 kB / 1.052 GB, free: 3.145 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.2736, allocations: 29.7 kB / 1.052 GB, free: 3.109 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.2738, allocations: 250.8 kB / 1.052 GB, free: 2.859 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.2739, allocations: 47.58 kB / 1.052 GB, free: 2.812 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/0.274, allocations: 43.38 kB / 1.052 GB, free: 2.762 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003123/0.2743, allocations: 0.5118 MB / 1.053 GB, free: 2.238 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.2744, allocations: 39.97 kB / 1.053 GB, free: 2.199 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.2747, allocations: 183.2 kB / 1.053 GB, free: 1.977 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.275, allocations: 165.9 kB / 1.053 GB, free: 1.789 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.275, allocations: 0 / 1.053 GB, free: 1.789 MB / 1.01 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003946/0.2754, allocations: 185.3 kB / 1.053 GB, free: 1.602 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2754, allocations: 7.938 kB / 1.053 GB, free: 1.594 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2754, allocations: 0 / 1.053 GB, free: 1.594 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.2754, allocations: 8.156 kB / 1.053 GB, free: 1.586 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.2756, allocations: 31.98 kB / 1.053 GB, free: 1.555 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2756, allocations: 4 kB / 1.053 GB, free: 1.551 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.2757, allocations: 15.94 kB / 1.053 GB, free: 1.535 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.2757, allocations: 8 kB / 1.053 GB, free: 1.527 MB / 1.01 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.0001841/0.2759, allocations: 184.5 kB / 1.054 GB, free: 1.336 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.276, allocations: 27.86 kB / 1.054 GB, free: 1.309 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004198/0.2764, allocations: 171.3 kB / 1.054 GB, free: 1.133 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2764, allocations: 0 / 1.054 GB, free: 1.133 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2764, allocations: 11.94 kB / 1.054 GB, free: 1.121 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2764, allocations: 0 / 1.054 GB, free: 1.121 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.2778, allocations: 0.6472 MB / 1.054 GB, free: 412 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2778, allocations: 0 / 1.054 GB, free: 412 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.2779, allocations: 23.98 kB / 1.054 GB, free: 388 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2779, allocations: 8.219 kB / 1.054 GB, free: 380 kB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.2779, allocations: 4 kB / 1.054 GB, free: 376 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.2779, allocations: 7.938 kB / 1.054 GB, free: 368 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2779, allocations: 0 / 1.054 GB, free: 368 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4399/0.7178, allocations: 371.5 kB / 1.055 GB, free: 223.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.718, allocations: 33.38 kB / 1.055 GB, free: 223.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.7181, allocations: 8.531 kB / 1.055 GB, free: 223.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.7182, allocations: 2.531 kB / 1.055 GB, free: 223.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/0.7183, allocations: 21.23 kB / 1.055 GB, free: 223.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.7183, allocations: 8.094 kB / 1.055 GB, free: 223.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001776/0.7185, allocations: 208.6 kB / 1.055 GB, free: 223.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7185, allocations: 0 / 1.055 GB, free: 223.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005489/0.7191, allocations: 82.67 kB / 1.055 GB, free: 223.1 MB / 1.01 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.0002969/0.7194, allocations: 138.1 kB / 1.055 GB, free: 223 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.7197, allocations: 132.8 kB / 1.055 GB, free: 223 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.7197, allocations: 0 / 1.055 GB, free: 223 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.7199, allocations: 75.91 kB / 1.056 GB, free: 223 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006555/0.7205, allocations: 80.53 kB / 1.056 GB, free: 223 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/0.7214, allocations: 0.5349 MB / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.7216, allocations: 164 kB / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.7217, allocations: 44.8 kB / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.7218, allocations: 24.17 kB / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of SimCode: time 8.62e-07/0.7218, allocations: 0 / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of Templates: time 0.008234/0.73, allocations: 3.649 MB / 1.06 GB, free: 222.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.37671468697954]