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.001484/0.001484, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001609/0.001609, allocations: 163 kB / 22.46 MB, free: 5.375 MB / 14.72 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.582/1.582, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.973/2.973, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 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.814e-06/1.814e-06, allocations: 0 / 0.9815 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.131e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8956/0.8957, allocations: 147.7 MB / 1.126 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00803/0.9037, allocations: 5.994 MB / 1.132 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007694/0.9045, allocations: 17.09 kB / 1.132 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006875/0.9051, allocations: 176.4 kB / 1.132 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.9083, allocations: 0.8603 MB / 1.133 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.9096, allocations: 374.3 kB / 1.133 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.9108, allocations: 0.7047 MB / 1.134 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004694/0.9113, allocations: 219.3 kB / 1.134 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.9135, allocations: 0.816 MB / 1.135 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.914, allocations: 241.2 kB / 1.135 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/0.9141, allocations: 22.47 kB / 1.135 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008933/0.915, allocations: 292.7 kB / 1.135 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.9152, allocations: 118.9 kB / 1.135 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.9154, allocations: 114.5 kB / 1.135 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.9165, allocations: 485.7 kB / 1.136 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.9165, allocations: 3.625 kB / 1.136 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9165, allocations: 0 / 1.136 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.9165, allocations: 1.094 kB / 1.136 GB, free: 13.77 MB / 0.9981 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.0009715/0.9175, allocations: 0.5373 MB / 1.136 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.9175, allocations: 12.78 kB / 1.136 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.9179, allocations: 62.69 kB / 1.136 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.9185, allocations: 271.5 kB / 1.137 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.9185, allocations: 18.59 kB / 1.137 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.9186, allocations: 24.44 kB / 1.137 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006137/0.9192, allocations: 318.7 kB / 1.137 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.9192, allocations: 5.062 kB / 1.137 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.9192, allocations: 16.16 kB / 1.137 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.9192, allocations: 7.562 kB / 1.137 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.9197, allocations: 201.3 kB / 1.137 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.9211, allocations: 1.119 MB / 1.138 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.9214, allocations: 110.2 kB / 1.138 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.9216, allocations: 88.19 kB / 1.139 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005588/0.9222, allocations: 81.06 kB / 1.139 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.9222, allocations: 32.62 kB / 1.139 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.9222, allocations: 0 / 1.139 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008971/0.9231, allocations: 267.3 kB / 1.139 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.9232, allocations: 53.59 kB / 1.139 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.9235, allocations: 225.6 kB / 1.139 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.9235, allocations: 34.14 kB / 1.139 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.9236, allocations: 197.3 kB / 1.139 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.9237, allocations: 47.16 kB / 1.139 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.9238, allocations: 39.2 kB / 1.14 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.9239, allocations: 333.9 kB / 1.14 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.924, allocations: 56.25 kB / 1.14 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.9243, allocations: 190.3 kB / 1.14 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.9247, allocations: 178.4 kB / 1.14 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9247, allocations: 1.188 kB / 1.14 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004531/0.9251, allocations: 211.2 kB / 1.14 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.9251, allocations: 9.094 kB / 1.14 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.9252, allocations: 6.469 kB / 1.14 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.9252, allocations: 2.859 kB / 1.14 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.9254, allocations: 33.88 kB / 1.14 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.9254, allocations: 2.906 kB / 1.14 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.9255, allocations: 19.03 kB / 1.141 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.9256, allocations: 7.859 kB / 1.141 GB, free: 11.27 MB / 0.9981 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.000135/0.9257, allocations: 152.3 kB / 1.141 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.9258, allocations: 26.77 kB / 1.141 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005047/0.9263, allocations: 216.5 kB / 1.141 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.9263, allocations: 1.125 kB / 1.141 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.9263, allocations: 0 / 1.141 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.9263, allocations: 2.203 kB / 1.141 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.9273, allocations: 0.5931 MB / 1.141 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9273, allocations: 2.469 kB / 1.141 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.9275, allocations: 29.64 kB / 1.142 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.9275, allocations: 5.406 kB / 1.142 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.9275, allocations: 4.312 kB / 1.142 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.9275, allocations: 2.375 kB / 1.142 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.9275, allocations: 1.969 kB / 1.142 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.928, allocations: 340.8 kB / 1.142 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/0.9281, allocations: 40.05 kB / 1.142 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.9281, allocations: 3.391 kB / 1.142 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.9283, allocations: 11.42 kB / 1.142 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.9283, allocations: 22.23 kB / 1.142 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.9284, allocations: 5.672 kB / 1.142 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000162/0.9285, allocations: 164 kB / 1.142 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.9285, allocations: 0 / 1.142 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005325/0.929, allocations: 79.45 kB / 1.142 GB, free: 10.46 MB / 0.9981 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.0003867/0.9294, allocations: 142.3 kB / 1.142 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005393/0.93, allocations: 153.5 kB / 1.142 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.93, allocations: 1.25 kB / 1.142 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.9302, allocations: 79 kB / 1.143 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007873/0.931, allocations: 93.95 kB / 1.143 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.9322, allocations: 0.5125 MB / 1.143 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.9326, allocations: 176.5 kB / 1.143 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.9328, allocations: 50.28 kB / 1.143 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.9328, allocations: 19.88 kB / 1.143 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.9328, allocations: 4 kB / 1.143 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of Templates: time 0.01079/0.9436, allocations: 3.66 MB / 1.147 GB, free: 9.574 MB / 0.9981 GB " [Timeout remaining time 299] 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: 9.597406320273876]