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.002297/0.002297, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002722/0.002722, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.671/1.671, allocations: 177.1 MB / 203.9 MB, free: 5.617 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 3.214/3.214, allocations: 377.8 MB / 0.6232 GB, free: 8.555 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.573e-06/1.573e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.375e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2421/0.2422, allocations: 163.8 MB / 0.9708 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.2524, allocations: 6.728 MB / 0.9773 GB, free: 7.031 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004959/0.2529, allocations: 19.88 kB / 0.9774 GB, free: 7.012 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0006652/0.2536, allocations: 178.6 kB / 0.9775 GB, free: 6.836 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.2561, allocations: 0.8551 MB / 0.9784 GB, free: 5.977 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.2573, allocations: 379 kB / 0.9787 GB, free: 5.605 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.2584, allocations: 0.7093 MB / 0.9794 GB, free: 4.895 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.2588, allocations: 215.4 kB / 0.9796 GB, free: 4.688 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.2608, allocations: 0.8252 MB / 0.9804 GB, free: 3.859 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.2613, allocations: 239.3 kB / 0.9807 GB, free: 3.625 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.2614, allocations: 24 kB / 0.9807 GB, free: 3.602 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006986/0.2621, allocations: 295.1 kB / 0.981 GB, free: 3.312 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.2622, allocations: 119.6 kB / 0.9811 GB, free: 3.195 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.2625, allocations: 107.8 kB / 0.9812 GB, free: 3.09 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000839/0.2634, allocations: 486.4 kB / 0.9816 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2634, allocations: 0 / 0.9816 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2634, allocations: 0 / 0.9816 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.2634, allocations: 4 kB / 0.9816 GB, free: 2.609 MB / 0.9323 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.001056/0.2645, allocations: 0.659 MB / 0.9823 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2645, allocations: 8.031 kB / 0.9823 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003931/0.2649, allocations: 99.59 kB / 0.9824 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.2654, allocations: 274.8 kB / 0.9827 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.2654, allocations: 20.66 kB / 0.9827 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.2655, allocations: 31.98 kB / 0.9827 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.266, allocations: 304.8 kB / 0.983 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2661, allocations: 0 / 0.983 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.2661, allocations: 12 kB / 0.983 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.2661, allocations: 8 kB / 0.983 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.2665, allocations: 153.7 kB / 0.9832 GB, free: 0.957 MB / 0.9323 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.001904/0.2684, allocations: 1.492 MB / 0.9846 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.2686, allocations: 95.03 kB / 0.9847 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.2688, allocations: 59.59 kB / 0.9848 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000481/0.2692, allocations: 68.19 kB / 0.9848 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.2693, allocations: 41.38 kB / 0.9849 GB, free: 15.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.2693, allocations: 0 / 0.9849 GB, free: 15.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0007006/0.27, allocations: 213.4 kB / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.27, allocations: 51.41 kB / 0.9851 GB, free: 14.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.2704, allocations: 308.3 kB / 0.9854 GB, free: 14.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.2704, allocations: 33.7 kB / 0.9854 GB, free: 14.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.2706, allocations: 250.8 kB / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.2707, allocations: 51.62 kB / 0.9857 GB, free: 14.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/0.2708, allocations: 43.33 kB / 0.9858 GB, free: 14.13 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002962/0.271, allocations: 0.5118 MB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.2712, allocations: 51.81 kB / 0.9863 GB, free: 13.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.2714, allocations: 179.8 kB / 0.9865 GB, free: 13.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.2717, allocations: 158 kB / 0.9866 GB, free: 13.16 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2717, allocations: 0 / 0.9866 GB, free: 13.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000421/0.2722, allocations: 177.4 kB / 0.9868 GB, free: 12.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.2722, allocations: 7.938 kB / 0.9868 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2722, allocations: 4 kB / 0.9868 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2722, allocations: 0 / 0.9868 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.2724, allocations: 44.08 kB / 0.9869 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2724, allocations: 0 / 0.9869 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.2725, allocations: 19.88 kB / 0.9869 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.2726, allocations: 12 kB / 0.9869 GB, free: 12.89 MB / 0.948 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.0001799/0.2728, allocations: 180.5 kB / 0.9871 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.2728, allocations: 23.86 kB / 0.9871 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.2732, allocations: 175.3 kB / 0.9873 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2732, allocations: 4.031 kB / 0.9873 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2733, allocations: 0 / 0.9873 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2733, allocations: 7.984 kB / 0.9873 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.2744, allocations: 0.6549 MB / 0.9879 GB, free: 11.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2744, allocations: 0 / 0.9879 GB, free: 11.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.2745, allocations: 23.98 kB / 0.9879 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.2745, allocations: 4 kB / 0.9879 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.2745, allocations: 4.219 kB / 0.9879 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.2745, allocations: 4 kB / 0.9879 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.2746, allocations: 7.938 kB / 0.988 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006261/0.2752, allocations: 361.5 kB / 0.9883 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.2753, allocations: 39.78 kB / 0.9883 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.2753, allocations: 11.92 kB / 0.9884 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.2754, allocations: 8 kB / 0.9884 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.2755, allocations: 11.92 kB / 0.9884 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.2755, allocations: 8 kB / 0.9884 GB, free: 11.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001989/0.2757, allocations: 213.1 kB / 0.9886 GB, free: 11.03 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.2757, allocations: 4 kB / 0.9886 GB, free: 11.03 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004313/0.2761, allocations: 87.72 kB / 0.9887 GB, free: 10.94 MB / 0.948 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.0002878/0.2764, allocations: 131.1 kB / 0.9888 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.2768, allocations: 142.6 kB / 0.9889 GB, free: 10.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2768, allocations: 0 / 0.9889 GB, free: 10.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.277, allocations: 67.59 kB / 0.989 GB, free: 10.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/0.2776, allocations: 94.92 kB / 0.9891 GB, free: 10.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009812/0.2786, allocations: 0.5394 MB / 0.9896 GB, free: 9.902 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.2788, allocations: 167.5 kB / 0.9898 GB, free: 9.715 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.279, allocations: 41.92 kB / 0.9898 GB, free: 9.676 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.279, allocations: 24.5 kB / 0.9898 GB, free: 9.652 MB / 0.948 GB Notification: Performance of SimCode: time 6.61e-07/0.279, allocations: 0 / 0.9898 GB, free: 9.652 MB / 0.948 GB Notification: Performance of Templates: time 0.009683/0.2887, allocations: 3.761 MB / 0.9935 GB, free: 6.004 MB / 0.948 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] 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.918402754003182]