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.0016/0.0016, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001962/0.001962, allocations: 209.1 kB / 22.99 MB, free: 4.984 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.219/3.219, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 65.94 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3203, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2015/0.5218, allocations: 158.5 MB / 1.482 GB, free: 1.871 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.5319, allocations: 7.217 MB / 1.489 GB, free: 10.63 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004852/0.5324, allocations: 23.81 kB / 1.489 GB, free: 10.61 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006909/0.5331, allocations: 254.2 kB / 1.489 GB, free: 10.36 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.5363, allocations: 1.221 MB / 1.49 GB, free: 9.133 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.5382, allocations: 0.7623 MB / 1.491 GB, free: 8.371 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001372/0.5396, allocations: 1.087 MB / 1.492 GB, free: 7.281 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005626/0.5402, allocations: 325.9 kB / 1.493 GB, free: 6.949 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.5431, allocations: 1.015 MB / 1.494 GB, free: 5.941 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006627/0.5438, allocations: 442.4 kB / 1.494 GB, free: 5.508 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.608e-05/0.5439, allocations: 36 kB / 1.494 GB, free: 5.473 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.5454, allocations: 0.7949 MB / 1.495 GB, free: 4.676 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.5456, allocations: 163.5 kB / 1.495 GB, free: 4.516 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.5459, allocations: 203.1 kB / 1.495 GB, free: 4.316 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.5473, allocations: 0.9187 MB / 1.496 GB, free: 3.395 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5473, allocations: 0 / 1.496 GB, free: 3.395 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5473, allocations: 0 / 1.496 GB, free: 3.395 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5473, allocations: 0 / 1.496 GB, free: 3.395 MB / 1.186 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.001244/0.5486, allocations: 0.7458 MB / 1.497 GB, free: 2.617 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.5486, allocations: 12.03 kB / 1.497 GB, free: 2.605 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5496, allocations: 159.4 kB / 1.497 GB, free: 2.449 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.5503, allocations: 336.5 kB / 1.497 GB, free: 2.094 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.5504, allocations: 32.94 kB / 1.497 GB, free: 2.062 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.5504, allocations: 36 kB / 1.497 GB, free: 2.027 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.5512, allocations: 442.4 kB / 1.498 GB, free: 1.566 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.5513, allocations: 11.94 kB / 1.498 GB, free: 1.555 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.5513, allocations: 19.94 kB / 1.498 GB, free: 1.535 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.5513, allocations: 8 kB / 1.498 GB, free: 1.527 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.552, allocations: 315.8 kB / 1.498 GB, free: 1.223 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.554, allocations: 1.404 MB / 1.499 GB, free: 15.77 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.5545, allocations: 220.2 kB / 1.5 GB, free: 15.54 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.5548, allocations: 145.3 kB / 1.5 GB, free: 15.4 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.5553, allocations: 75.86 kB / 1.5 GB, free: 15.32 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.5553, allocations: 34.56 kB / 1.5 GB, free: 15.28 MB / 1.201 GB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.5553, allocations: 0 / 1.5 GB, free: 15.28 MB / 1.201 GB Notification: Performance of matching and sorting (n=24): time 0.001092/0.5564, allocations: 447.6 kB / 1.5 GB, free: 14.84 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.5565, allocations: 55.41 kB / 1.5 GB, free: 14.77 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.5568, allocations: 284.5 kB / 1.501 GB, free: 14.48 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.5568, allocations: 33.7 kB / 1.501 GB, free: 14.45 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.557, allocations: 244.2 kB / 1.501 GB, free: 14.2 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.5571, allocations: 83.27 kB / 1.501 GB, free: 14.12 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.5572, allocations: 61.64 kB / 1.501 GB, free: 14.05 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.5574, allocations: 342.8 kB / 1.501 GB, free: 13.71 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.5576, allocations: 123.9 kB / 1.501 GB, free: 13.59 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.558, allocations: 267.7 kB / 1.502 GB, free: 13.29 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/0.5585, allocations: 304.2 kB / 1.502 GB, free: 12.96 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5585, allocations: 4 kB / 1.502 GB, free: 12.96 MB / 1.201 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006829/0.5592, allocations: 354.6 kB / 1.502 GB, free: 12.61 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5592, allocations: 4 kB / 1.502 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.5592, allocations: 4 kB / 1.502 GB, free: 12.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.5593, allocations: 224 / 1.502 GB, free: 12.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.5596, allocations: 63.91 kB / 1.502 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5596, allocations: 7.938 kB / 1.502 GB, free: 12.53 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.5598, allocations: 31.88 kB / 1.502 GB, free: 12.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.5598, allocations: 15.98 kB / 1.502 GB, free: 12.48 MB / 1.201 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.0001958/0.56, allocations: 165.7 kB / 1.503 GB, free: 12.31 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.5601, allocations: 31.81 kB / 1.503 GB, free: 12.28 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007756/0.5608, allocations: 363.2 kB / 1.503 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5609, allocations: 4 kB / 1.503 GB, free: 11.92 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.5609, allocations: 0 / 1.503 GB, free: 11.92 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5609, allocations: 4 kB / 1.503 GB, free: 11.92 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.5623, allocations: 0.8252 MB / 1.504 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5623, allocations: 4.219 kB / 1.504 GB, free: 11.03 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.5626, allocations: 51.91 kB / 1.504 GB, free: 10.98 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.5626, allocations: 4 kB / 1.504 GB, free: 10.98 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.5626, allocations: 8 kB / 1.504 GB, free: 10.97 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.5627, allocations: 15.86 kB / 1.504 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.5627, allocations: 3.938 kB / 1.504 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.5637, allocations: 0.6141 MB / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.5638, allocations: 67.75 kB / 1.505 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.5638, allocations: 7.938 kB / 1.505 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.564, allocations: 15.98 kB / 1.505 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.5641, allocations: 19.97 kB / 1.505 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.5641, allocations: 8 kB / 1.505 GB, free: 10.18 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001973/0.5643, allocations: 199.1 kB / 1.505 GB, free: 9.988 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5643, allocations: 0 / 1.505 GB, free: 9.988 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004902/0.5648, allocations: 123.7 kB / 1.505 GB, free: 9.867 MB / 1.201 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.0002829/0.5651, allocations: 159.1 kB / 1.505 GB, free: 9.703 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006205/0.5657, allocations: 276.2 kB / 1.505 GB, free: 9.434 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5657, allocations: 0 / 1.505 GB, free: 9.434 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.566, allocations: 144.6 kB / 1.505 GB, free: 9.293 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007839/0.5668, allocations: 142.3 kB / 1.506 GB, free: 9.152 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.5681, allocations: 0.8036 MB / 1.506 GB, free: 8.301 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.5684, allocations: 223.4 kB / 1.507 GB, free: 8.059 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002549/0.5686, allocations: 86.91 kB / 1.507 GB, free: 7.973 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.5687, allocations: 27.44 kB / 1.507 GB, free: 7.945 MB / 1.201 GB Notification: Performance of SimCode: time 4.01e-07/0.5687, allocations: 0 / 1.507 GB, free: 7.945 MB / 1.201 GB Notification: Performance of Templates: time 0.01216/0.5809, allocations: 6.22 MB / 1.513 GB, free: 1.859 MB / 1.201 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 -s gbode -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/jenkins1/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.10736062299111]