Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00188/0.00188, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002329/0.002329, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.536/1.536, allocations: 177.2 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.976/2.976, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8108 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.381e-05, allocations: 2.906 kB / 0.8108 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2484/0.2485, allocations: 147.7 MB / 0.9551 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.009959/0.2584, allocations: 5.999 MB / 0.961 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005417/0.259, allocations: 15.88 kB / 0.961 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000744/0.2597, allocations: 182.6 kB / 0.9612 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002686/0.2624, allocations: 0.8628 MB / 0.962 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.2636, allocations: 371 kB / 0.9624 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.2648, allocations: 0.7132 MB / 0.963 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00056/0.2654, allocations: 223.3 kB / 0.9633 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.2677, allocations: 0.8175 MB / 0.9641 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.2683, allocations: 239.3 kB / 0.9643 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 7.257e-05/0.2683, allocations: 23.94 kB / 0.9643 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007343/0.2691, allocations: 287.2 kB / 0.9646 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.2692, allocations: 123.6 kB / 0.9647 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.2695, allocations: 111.7 kB / 0.9648 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000913/0.2704, allocations: 482.5 kB / 0.9653 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.2704, allocations: 4 kB / 0.9653 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2704, allocations: 0 / 0.9653 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.2704, allocations: 0 / 0.9653 GB, free: 2.258 MB / 0.8698 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.001132/0.2715, allocations: 0.5476 MB / 0.9658 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2716, allocations: 8.031 kB / 0.9658 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004543/0.272, allocations: 91.56 kB / 0.9659 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006267/0.2727, allocations: 284 kB / 0.9662 GB, free: 1.273 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.2727, allocations: 20.66 kB / 0.9662 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.2727, allocations: 24 kB / 0.9662 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.2734, allocations: 321 kB / 0.9665 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2734, allocations: 0 / 0.9665 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.2734, allocations: 12 kB / 0.9665 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2734, allocations: 4 kB / 0.9665 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.2739, allocations: 205.8 kB / 0.9667 GB, free: 0.6797 MB / 0.8698 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.001867/0.2758, allocations: 1.137 MB / 0.9678 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.2761, allocations: 110.5 kB / 0.9679 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.2763, allocations: 88.73 kB / 0.968 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005314/0.2768, allocations: 75.92 kB / 0.9681 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.2769, allocations: 30.56 kB / 0.9681 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.2769, allocations: 0 / 0.9681 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0008916/0.2778, allocations: 273.3 kB / 0.9684 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.2778, allocations: 55.41 kB / 0.9684 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.2781, allocations: 225.9 kB / 0.9687 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.2781, allocations: 25.7 kB / 0.9687 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.2783, allocations: 200.1 kB / 0.9689 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.2784, allocations: 47.58 kB / 0.9689 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-05/0.2785, allocations: 37.7 kB / 0.969 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.2787, allocations: 330.8 kB / 0.9693 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.2788, allocations: 59.95 kB / 0.9693 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.2791, allocations: 192.1 kB / 0.9695 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.2795, allocations: 176.9 kB / 0.9697 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-06/0.2795, allocations: 4 kB / 0.9697 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000487/0.28, allocations: 217.4 kB / 0.9699 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.28, allocations: 7.938 kB / 0.9699 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.28, allocations: 0 / 0.9699 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.28, allocations: 4 kB / 0.9699 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.2802, allocations: 39.91 kB / 0.9699 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.2802, allocations: 4 kB / 0.9699 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.2804, allocations: 23.88 kB / 0.97 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.2805, allocations: 11.94 kB / 0.97 GB, free: 13.16 MB / 0.8855 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.0001859/0.2806, allocations: 149.9 kB / 0.9701 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.2807, allocations: 27.86 kB / 0.9702 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005106/0.2812, allocations: 206.2 kB / 0.9703 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2812, allocations: 4 kB / 0.9704 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2812, allocations: 0 / 0.9704 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2812, allocations: 3.984 kB / 0.9704 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.2824, allocations: 0.5973 MB / 0.9709 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2824, allocations: 4 kB / 0.9709 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.2825, allocations: 27.97 kB / 0.971 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.2825, allocations: 4 kB / 0.971 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2825, allocations: 0 / 0.971 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2826, allocations: 4 kB / 0.971 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.2826, allocations: 7.938 kB / 0.971 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.2831, allocations: 333.5 kB / 0.9713 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.2832, allocations: 39.72 kB / 0.9713 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.2832, allocations: 7.984 kB / 0.9714 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2834, allocations: 8 kB / 0.9714 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.2834, allocations: 19.91 kB / 0.9714 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.2835, allocations: 8 kB / 0.9714 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001726/0.2836, allocations: 161.2 kB / 0.9715 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2836, allocations: 0 / 0.9715 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004613/0.2841, allocations: 87.78 kB / 0.9716 GB, free: 11.38 MB / 0.8855 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.0003105/0.2844, allocations: 139.1 kB / 0.9718 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004513/0.2849, allocations: 159.8 kB / 0.9719 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2849, allocations: 0 / 0.9719 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.2851, allocations: 83.95 kB / 0.972 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/0.2858, allocations: 85.11 kB / 0.9721 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.2869, allocations: 0.5379 MB / 0.9726 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.2871, allocations: 167.5 kB / 0.9728 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.2873, allocations: 54.03 kB / 0.9728 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.2873, allocations: 24.5 kB / 0.9728 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of SimCode: time 8.12e-07/0.2874, allocations: 0 / 0.9728 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of Templates: time 0.01019/0.2975, allocations: 3.757 MB / 0.9765 GB, free: 6.418 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.497120326966979]