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.001525/0.001525, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001915/0.001915, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.451/1.451, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.83/2.83, allocations: 0.49 GB / 0.7923 GB, free: 1.332 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.002016/0.002016, allocations: 66.09 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8914/0.8934, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.226/1.119, allocations: 183 MB / 1.501 GB, free: 1.062 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01138/1.131, allocations: 7.886 MB / 1.508 GB, free: 10.38 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008805/1.132, allocations: 27.81 kB / 1.508 GB, free: 10.35 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008753/1.132, allocations: 250.2 kB / 1.509 GB, free: 10.11 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003783/1.136, allocations: 1.26 MB / 1.51 GB, free: 8.84 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/1.138, allocations: 0.7373 MB / 1.511 GB, free: 8.105 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001636/1.14, allocations: 1.076 MB / 1.512 GB, free: 7.027 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005978/1.141, allocations: 345.5 kB / 1.512 GB, free: 6.68 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/1.144, allocations: 1.002 MB / 1.513 GB, free: 5.684 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007923/1.144, allocations: 442.5 kB / 1.513 GB, free: 5.25 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.606e-05/1.145, allocations: 40 kB / 1.513 GB, free: 5.211 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/1.147, allocations: 0.9977 MB / 1.514 GB, free: 4.211 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/1.147, allocations: 163.5 kB / 1.515 GB, free: 4.051 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003091/1.147, allocations: 238.8 kB / 1.515 GB, free: 3.816 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/1.149, allocations: 0.9488 MB / 1.516 GB, free: 2.867 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.149, allocations: 0 / 1.516 GB, free: 2.867 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.563e-06/1.149, allocations: 0 / 1.516 GB, free: 2.867 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.149, allocations: 0 / 1.516 GB, free: 2.867 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.001296/1.15, allocations: 0.8173 MB / 1.516 GB, free: 2 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/1.15, allocations: 8.031 kB / 1.516 GB, free: 1.992 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009717/1.151, allocations: 163.4 kB / 1.517 GB, free: 1.832 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006426/1.152, allocations: 407.7 kB / 1.517 GB, free: 1.395 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/1.152, allocations: 29 kB / 1.517 GB, free: 1.363 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/1.152, allocations: 36 kB / 1.517 GB, free: 1.328 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000783/1.153, allocations: 450.4 kB / 1.518 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.153, allocations: 0 / 1.518 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/1.153, allocations: 15.94 kB / 1.518 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/1.153, allocations: 11.98 kB / 1.518 GB, free: 0.8398 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006681/1.153, allocations: 327.7 kB / 1.518 GB, free: 0.5156 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/1.156, allocations: 2.008 MB / 1.52 GB, free: 14.34 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/1.156, allocations: 214.5 kB / 1.52 GB, free: 14.12 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/1.156, allocations: 140.8 kB / 1.52 GB, free: 13.98 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006304/1.157, allocations: 311.2 kB / 1.52 GB, free: 13.62 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/1.157, allocations: 38.56 kB / 1.52 GB, free: 13.57 MB / 1.201 GB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/1.157, allocations: 3.938 kB / 1.52 GB, free: 13.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=24): time 0.001105/1.158, allocations: 460 kB / 1.521 GB, free: 13.11 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/1.158, allocations: 59.39 kB / 1.521 GB, free: 13.04 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/1.159, allocations: 393.9 kB / 1.521 GB, free: 12.66 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/1.159, allocations: 29.7 kB / 1.521 GB, free: 12.62 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/1.159, allocations: 232.6 kB / 1.522 GB, free: 12.39 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.51e-05/1.159, allocations: 91.22 kB / 1.522 GB, free: 12.3 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.954e-05/1.159, allocations: 49.7 kB / 1.522 GB, free: 12.24 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.159, allocations: 358.7 kB / 1.522 GB, free: 11.88 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/1.16, allocations: 107.9 kB / 1.522 GB, free: 11.78 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/1.16, allocations: 190.6 kB / 1.522 GB, free: 11.57 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/1.16, allocations: 312.8 kB / 1.523 GB, free: 11.24 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.16, allocations: 0 / 1.523 GB, free: 11.24 MB / 1.201 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006962/1.161, allocations: 374.9 kB / 1.523 GB, free: 10.87 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.161, allocations: 6.344 kB / 1.523 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.161, allocations: 4 kB / 1.523 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.161, allocations: 4 kB / 1.523 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/1.162, allocations: 59.91 kB / 1.523 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/1.162, allocations: 4 kB / 1.523 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/1.162, allocations: 39.72 kB / 1.523 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/1.162, allocations: 16 kB / 1.523 GB, free: 10.74 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.000203/1.162, allocations: 174.3 kB / 1.523 GB, free: 10.56 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/1.162, allocations: 43.72 kB / 1.523 GB, free: 10.52 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007728/1.163, allocations: 368.9 kB / 1.524 GB, free: 10.15 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/1.163, allocations: 0 / 1.524 GB, free: 10.15 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.163, allocations: 0 / 1.524 GB, free: 10.15 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.163, allocations: 0 / 1.524 GB, free: 10.15 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/1.164, allocations: 0.941 MB / 1.525 GB, free: 9.129 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.164, allocations: 0 / 1.525 GB, free: 9.129 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/1.165, allocations: 56.12 kB / 1.525 GB, free: 9.074 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/1.165, allocations: 7.938 kB / 1.525 GB, free: 9.066 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/1.165, allocations: 4 kB / 1.525 GB, free: 9.062 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.165, allocations: 4 kB / 1.525 GB, free: 9.059 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.165, allocations: 0 / 1.525 GB, free: 9.059 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/1.166, allocations: 0.6371 MB / 1.525 GB, free: 8.387 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/1.166, allocations: 148.8 kB / 1.525 GB, free: 8.223 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/1.166, allocations: 8 kB / 1.525 GB, free: 8.215 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/1.166, allocations: 20.05 kB / 1.525 GB, free: 8.195 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/1.166, allocations: 23.91 kB / 1.526 GB, free: 8.172 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/1.166, allocations: 8 kB / 1.526 GB, free: 8.164 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003182/1.167, allocations: 279.1 kB / 1.526 GB, free: 7.895 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.167, allocations: 4 kB / 1.526 GB, free: 7.891 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005044/1.167, allocations: 107.8 kB / 1.526 GB, free: 7.785 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.0003207/1.167, allocations: 159.1 kB / 1.526 GB, free: 7.617 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006488/1.168, allocations: 291.3 kB / 1.526 GB, free: 7.332 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.168, allocations: 0 / 1.526 GB, free: 7.332 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002867/1.168, allocations: 144.5 kB / 1.526 GB, free: 7.191 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/1.169, allocations: 220.7 kB / 1.527 GB, free: 6.984 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/1.171, allocations: 0.8553 MB / 1.527 GB, free: 6.074 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/1.171, allocations: 0.8194 MB / 1.528 GB, free: 5.223 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/1.172, allocations: 47.42 kB / 1.528 GB, free: 5.18 MB / 1.201 GB Notification: Performance of SimCode: time 2.91e-07/1.172, allocations: 0 / 1.528 GB, free: 5.18 MB / 1.201 GB Notification: Performance of Templates: time 0.01148/1.183, allocations: 6.854 MB / 1.535 GB, free: 14.4 MB / 1.217 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: 12.712813434001873]