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.001469/0.001469, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001668/0.001668, allocations: 215.3 kB / 23.01 MB, free: 4.602 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.322/1.322, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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 2.871/2.871, allocations: 0.49 GB / 0.7958 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] 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.001914/0.001914, allocations: 70.08 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3069, allocations: 176.1 MB / 1.327 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1992/0.5062, allocations: 183.2 MB / 1.506 GB, free: 9.473 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009573/0.5158, allocations: 7.948 MB / 1.514 GB, free: 1.5 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000481/0.5162, allocations: 27.75 kB / 1.514 GB, free: 1.473 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006288/0.5169, allocations: 242.2 kB / 1.514 GB, free: 1.234 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.5197, allocations: 1.276 MB / 1.515 GB, free: 15.95 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.5214, allocations: 0.7795 MB / 1.516 GB, free: 15.18 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001212/0.5226, allocations: 1.083 MB / 1.517 GB, free: 14.09 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.5231, allocations: 333.8 kB / 1.517 GB, free: 13.75 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.5259, allocations: 1.02 MB / 1.518 GB, free: 12.74 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007042/0.5266, allocations: 446.4 kB / 1.519 GB, free: 12.3 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.5266, allocations: 36 kB / 1.519 GB, free: 12.27 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.5285, allocations: 1.013 MB / 1.52 GB, free: 11.25 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.5287, allocations: 167.5 kB / 1.52 GB, free: 11.09 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.529, allocations: 242.8 kB / 1.52 GB, free: 10.85 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.5304, allocations: 0.946 MB / 1.521 GB, free: 9.898 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5304, allocations: 0 / 1.521 GB, free: 9.898 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5304, allocations: 0 / 1.521 GB, free: 9.898 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.5304, allocations: 8 kB / 1.521 GB, free: 9.891 MB / 1.217 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.001154/0.5315, allocations: 0.7397 MB / 1.522 GB, free: 9.121 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.5316, allocations: 8.031 kB / 1.522 GB, free: 9.113 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008954/0.5325, allocations: 163.4 kB / 1.522 GB, free: 8.953 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/0.5331, allocations: 332.5 kB / 1.522 GB, free: 8.602 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.5331, allocations: 29 kB / 1.522 GB, free: 8.574 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.5332, allocations: 36 kB / 1.523 GB, free: 8.539 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/0.5339, allocations: 454.4 kB / 1.523 GB, free: 8.066 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.5339, allocations: 0 / 1.523 GB, free: 8.066 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.5339, allocations: 19.94 kB / 1.523 GB, free: 8.047 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.5339, allocations: 8 kB / 1.523 GB, free: 8.039 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.5345, allocations: 327.7 kB / 1.523 GB, free: 7.723 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.5367, allocations: 1.976 MB / 1.525 GB, free: 5.582 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.5371, allocations: 226.4 kB / 1.525 GB, free: 5.352 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.5374, allocations: 132.8 kB / 1.526 GB, free: 5.219 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004604/0.5378, allocations: 79.84 kB / 1.526 GB, free: 5.141 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.5379, allocations: 42.5 kB / 1.526 GB, free: 5.09 MB / 1.217 GB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.5379, allocations: 0 / 1.526 GB, free: 5.09 MB / 1.217 GB Notification: Performance of matching and sorting (n=24): time 0.001001/0.5389, allocations: 456.5 kB / 1.526 GB, free: 4.641 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.5389, allocations: 55.41 kB / 1.526 GB, free: 4.574 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.5393, allocations: 397.9 kB / 1.527 GB, free: 4.176 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.5394, allocations: 33.7 kB / 1.527 GB, free: 4.137 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.5395, allocations: 228.5 kB / 1.527 GB, free: 3.91 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/0.5396, allocations: 95.2 kB / 1.527 GB, free: 3.816 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.712e-05/0.5397, allocations: 57.69 kB / 1.527 GB, free: 3.754 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.5399, allocations: 354.7 kB / 1.527 GB, free: 3.398 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.5401, allocations: 111.9 kB / 1.527 GB, free: 3.289 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.5404, allocations: 190.6 kB / 1.528 GB, free: 3.078 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.5409, allocations: 304.5 kB / 1.528 GB, free: 2.758 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5409, allocations: 0 / 1.528 GB, free: 2.758 MB / 1.217 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006375/0.5415, allocations: 370.6 kB / 1.528 GB, free: 2.391 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5416, allocations: 8 kB / 1.528 GB, free: 2.383 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.5416, allocations: 0 / 1.528 GB, free: 2.383 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.5416, allocations: 4 kB / 1.528 GB, free: 2.379 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.5419, allocations: 55.91 kB / 1.528 GB, free: 2.324 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.5419, allocations: 7.938 kB / 1.528 GB, free: 2.316 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.5421, allocations: 43.7 kB / 1.528 GB, free: 2.273 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.5421, allocations: 20.17 kB / 1.528 GB, free: 2.254 MB / 1.217 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.0001951/0.5423, allocations: 169.7 kB / 1.529 GB, free: 2.078 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.5424, allocations: 35.77 kB / 1.529 GB, free: 2.043 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006937/0.5431, allocations: 377 kB / 1.529 GB, free: 1.664 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5431, allocations: 4 kB / 1.529 GB, free: 1.66 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5431, allocations: 0 / 1.529 GB, free: 1.66 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5431, allocations: 0 / 1.529 GB, free: 1.66 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.5445, allocations: 0.9107 MB / 1.53 GB, free: 0.6797 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.5445, allocations: 4.031 kB / 1.53 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.5448, allocations: 51.91 kB / 1.53 GB, free: 0.625 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.5448, allocations: 7.984 kB / 1.53 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.5448, allocations: 11.98 kB / 1.53 GB, free: 0.6055 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5448, allocations: 7.938 kB / 1.53 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5448, allocations: 0 / 1.53 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.5457, allocations: 0.6275 MB / 1.53 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.5459, allocations: 67.7 kB / 1.531 GB, free: 15.86 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.5459, allocations: 12.06 kB / 1.531 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.5461, allocations: 11.98 kB / 1.531 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.5462, allocations: 23.91 kB / 1.531 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.5462, allocations: 12 kB / 1.531 GB, free: 15.8 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002859/0.5465, allocations: 275.1 kB / 1.531 GB, free: 15.54 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5465, allocations: 0 / 1.531 GB, free: 15.54 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004378/0.547, allocations: 119.8 kB / 1.531 GB, free: 15.43 MB / 1.232 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.0002582/0.5472, allocations: 155 kB / 1.531 GB, free: 15.27 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005699/0.5478, allocations: 281.2 kB / 1.531 GB, free: 15 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5478, allocations: 0 / 1.531 GB, free: 15 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.5481, allocations: 148.5 kB / 1.532 GB, free: 14.85 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.5491, allocations: 221.2 kB / 1.532 GB, free: 14.63 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.5504, allocations: 0.8522 MB / 1.533 GB, free: 13.72 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.5508, allocations: 0.835 MB / 1.533 GB, free: 12.86 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.5509, allocations: 39.44 kB / 1.533 GB, free: 12.82 MB / 1.232 GB Notification: Performance of SimCode: time 4.31e-07/0.5509, allocations: 0 / 1.533 GB, free: 12.82 MB / 1.232 GB Notification: Performance of Templates: time 0.01019/0.5611, allocations: 6.848 MB / 1.54 GB, free: 6.047 MB / 1.232 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/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: 11.398438353004167]