Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001983/0.001983, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002187/0.002187, allocations: 167.1 kB / 22.46 MB, free: 5.359 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.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.836/2.836, 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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 3.938 kB / 0.9814 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.633e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 1/1, allocations: 158.4 MB / 1.136 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01176/1.012, allocations: 7.185 MB / 1.143 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/1.013, allocations: 30.03 kB / 1.143 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/1.014, allocations: 251.9 kB / 1.143 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005603/1.02, allocations: 1.252 MB / 1.145 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/1.023, allocations: 0.8002 MB / 1.145 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002846/1.026, allocations: 1.063 MB / 1.146 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008203/1.027, allocations: 328.5 kB / 1.147 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004586/1.031, allocations: 1.156 MB / 1.148 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/1.033, allocations: 389.9 kB / 1.148 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/1.033, allocations: 36.47 kB / 1.148 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/1.035, allocations: 0.7975 MB / 1.149 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002525/1.035, allocations: 169.2 kB / 1.149 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/1.036, allocations: 173.8 kB / 1.149 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002004/1.038, allocations: 0.9562 MB / 1.15 GB, free: 13 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.038, allocations: 0 / 1.15 GB, free: 13 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.442e-06/1.038, allocations: 1.75 kB / 1.15 GB, free: 13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.835e-06/1.038, allocations: 0 / 1.15 GB, free: 13 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001282/1.039, allocations: 0.7408 MB / 1.151 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/1.039, allocations: 9.125 kB / 1.151 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/1.04, allocations: 153.4 kB / 1.151 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006987/1.041, allocations: 342.5 kB / 1.152 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/1.041, allocations: 31.03 kB / 1.152 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.821e-05/1.041, allocations: 34.22 kB / 1.152 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009619/1.042, allocations: 451.9 kB / 1.152 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.042, allocations: 4.156 kB / 1.152 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/1.042, allocations: 17.12 kB / 1.152 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/1.042, allocations: 10.33 kB / 1.152 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007218/1.043, allocations: 319.4 kB / 1.152 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/1.045, allocations: 1.404 MB / 1.154 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/1.045, allocations: 222.1 kB / 1.154 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/1.045, allocations: 144.5 kB / 1.154 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000534/1.046, allocations: 74.08 kB / 1.154 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/1.046, allocations: 40.91 kB / 1.154 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.974e-06/1.046, allocations: 0 / 1.154 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001191/1.047, allocations: 447.8 kB / 1.155 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/1.047, allocations: 62.77 kB / 1.155 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/1.047, allocations: 284.5 kB / 1.155 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/1.047, allocations: 31.11 kB / 1.155 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/1.048, allocations: 242.5 kB / 1.155 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.405e-05/1.048, allocations: 88.09 kB / 1.155 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.048, allocations: 57.39 kB / 1.155 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.048, allocations: 343 kB / 1.156 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/1.048, allocations: 110.2 kB / 1.156 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/1.049, allocations: 264.2 kB / 1.156 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/1.049, allocations: 306.2 kB / 1.156 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.049, allocations: 0 / 1.156 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000768/1.05, allocations: 355.9 kB / 1.157 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.05, allocations: 8 kB / 1.157 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.05, allocations: 4.75 kB / 1.157 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/1.05, allocations: 7.625 kB / 1.157 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/1.05, allocations: 60.61 kB / 1.157 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/1.05, allocations: 4.562 kB / 1.157 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/1.051, allocations: 32.17 kB / 1.157 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/1.051, allocations: 12.34 kB / 1.157 GB, free: 10.23 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.000191/1.051, allocations: 163.4 kB / 1.157 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/1.051, allocations: 34.22 kB / 1.157 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007638/1.052, allocations: 367.5 kB / 1.157 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/1.052, allocations: 2.25 kB / 1.157 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.052, allocations: 1.188 kB / 1.157 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.052, allocations: 4.875 kB / 1.157 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/1.053, allocations: 0.8352 MB / 1.158 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.053, allocations: 1.25 kB / 1.158 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/1.053, allocations: 50.23 kB / 1.158 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.053, allocations: 2.688 kB / 1.158 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/1.053, allocations: 8.125 kB / 1.158 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/1.053, allocations: 5.594 kB / 1.158 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.053, allocations: 3.625 kB / 1.158 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/1.054, allocations: 0.6255 MB / 1.159 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/1.055, allocations: 61.25 kB / 1.159 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/1.055, allocations: 5.125 kB / 1.159 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/1.055, allocations: 11.89 kB / 1.159 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/1.055, allocations: 23.84 kB / 1.159 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/1.055, allocations: 10.22 kB / 1.159 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002172/1.055, allocations: 196.7 kB / 1.159 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.055, allocations: 2.25 kB / 1.159 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007398/1.056, allocations: 122.3 kB / 1.159 GB, free: 9.391 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.0003808/1.056, allocations: 154.9 kB / 1.159 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006245/1.057, allocations: 274 kB / 1.16 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.057, allocations: 0 / 1.16 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/1.057, allocations: 145 kB / 1.16 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008214/1.058, allocations: 142.9 kB / 1.16 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/1.059, allocations: 0.7614 MB / 1.161 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/1.059, allocations: 228.2 kB / 1.161 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002347/1.06, allocations: 80.19 kB / 1.161 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.446e-05/1.06, allocations: 31.44 kB / 1.161 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.06, allocations: 0 / 1.161 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of Templates: time 0.01234/1.072, allocations: 5.484 MB / 1.166 GB, free: 8.156 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.72200370579958]