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.001736/0.001736, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002096/0.002096, allocations: 221.6 kB / 23 MB, free: 4.918 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: 230.6 MB / 256.8 MB, free: 7.816 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.141/3.141, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 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.002102/0.002102, allocations: 75.08 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.424, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2166/0.6406, allocations: 158.5 MB / 1.481 GB, free: 2.77 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.6518, allocations: 7.216 MB / 1.488 GB, free: 11.53 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005828/0.6524, allocations: 27.75 kB / 1.488 GB, free: 11.5 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008154/0.6532, allocations: 242.2 kB / 1.488 GB, free: 11.27 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.6566, allocations: 1.225 MB / 1.49 GB, free: 10.04 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.6586, allocations: 0.7585 MB / 1.49 GB, free: 9.277 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.6601, allocations: 1.076 MB / 1.491 GB, free: 8.199 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005907/0.6606, allocations: 325.9 kB / 1.492 GB, free: 7.867 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003017/0.6637, allocations: 1.023 MB / 1.493 GB, free: 6.852 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007608/0.6644, allocations: 414.5 kB / 1.493 GB, free: 6.445 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.113e-05/0.6645, allocations: 39.94 kB / 1.493 GB, free: 6.406 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.6661, allocations: 0.7831 MB / 1.494 GB, free: 5.621 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.6663, allocations: 163.5 kB / 1.494 GB, free: 5.461 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.6666, allocations: 207 kB / 1.494 GB, free: 5.258 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.668, allocations: 0.911 MB / 1.495 GB, free: 4.344 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.668, allocations: 0 / 1.495 GB, free: 4.344 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.553e-06/0.668, allocations: 4 kB / 1.495 GB, free: 4.34 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.668, allocations: 0 / 1.495 GB, free: 4.34 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.001301/0.6693, allocations: 0.7497 MB / 1.496 GB, free: 3.559 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.6694, allocations: 12.03 kB / 1.496 GB, free: 3.547 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009935/0.6703, allocations: 155.5 kB / 1.496 GB, free: 3.395 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007334/0.6711, allocations: 340.4 kB / 1.496 GB, free: 3.035 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.6711, allocations: 29 kB / 1.496 GB, free: 3.008 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.6712, allocations: 36 kB / 1.496 GB, free: 2.973 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008679/0.672, allocations: 446.4 kB / 1.497 GB, free: 2.508 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6721, allocations: 0 / 1.497 GB, free: 2.508 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.6721, allocations: 23.94 kB / 1.497 GB, free: 2.484 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.6721, allocations: 15.98 kB / 1.497 GB, free: 2.469 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006608/0.6728, allocations: 319.7 kB / 1.497 GB, free: 2.16 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.6749, allocations: 1.4 MB / 1.499 GB, free: 0.707 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.6753, allocations: 216.1 kB / 1.499 GB, free: 500 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.6756, allocations: 144.8 kB / 1.499 GB, free: 352 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000491/0.6761, allocations: 79.91 kB / 1.499 GB, free: 272 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.6761, allocations: 34.56 kB / 1.499 GB, free: 228 kB / 1.186 GB Notification: Performance of pre-optimization done (n=24): time 1.923e-06/0.6761, allocations: 0 / 1.499 GB, free: 228 kB / 1.186 GB Notification: Performance of matching and sorting (n=24): time 0.001139/0.6773, allocations: 451.1 kB / 1.499 GB, free: 15.78 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.6773, allocations: 55.41 kB / 1.5 GB, free: 15.71 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.6777, allocations: 288.5 kB / 1.5 GB, free: 15.42 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.6777, allocations: 25.7 kB / 1.5 GB, free: 15.39 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.6779, allocations: 244.2 kB / 1.5 GB, free: 15.14 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.244e-05/0.678, allocations: 83.28 kB / 1.5 GB, free: 15.06 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.6781, allocations: 65.62 kB / 1.5 GB, free: 14.99 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.6783, allocations: 338.8 kB / 1.501 GB, free: 14.65 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.6785, allocations: 107.9 kB / 1.501 GB, free: 14.55 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.6789, allocations: 275.7 kB / 1.501 GB, free: 14.23 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.6795, allocations: 305.2 kB / 1.501 GB, free: 13.91 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6795, allocations: 0 / 1.501 GB, free: 13.91 MB / 1.201 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007495/0.6802, allocations: 357 kB / 1.502 GB, free: 13.56 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6802, allocations: 11.98 kB / 1.502 GB, free: 13.55 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.6802, allocations: 0 / 1.502 GB, free: 13.55 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.6802, allocations: 7.938 kB / 1.502 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.6805, allocations: 59.91 kB / 1.502 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.6806, allocations: 12.16 kB / 1.502 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.6808, allocations: 31.83 kB / 1.502 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.6808, allocations: 8 kB / 1.502 GB, free: 13.43 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.0002173/0.681, allocations: 165.7 kB / 1.502 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.6811, allocations: 31.81 kB / 1.502 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.6818, allocations: 367.7 kB / 1.502 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.6818, allocations: 4 kB / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.6818, allocations: 0 / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6818, allocations: 4 kB / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.6834, allocations: 0.8256 MB / 1.503 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.6834, allocations: 4 kB / 1.503 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.6837, allocations: 48.12 kB / 1.503 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.6837, allocations: 8 kB / 1.503 GB, free: 11.92 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.6837, allocations: 8 kB / 1.503 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.6837, allocations: 3.938 kB / 1.503 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6837, allocations: 4 kB / 1.503 GB, free: 11.9 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.6847, allocations: 0.6219 MB / 1.504 GB, free: 11.24 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.6849, allocations: 55.72 kB / 1.504 GB, free: 11.19 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.6849, allocations: 11.94 kB / 1.504 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.6851, allocations: 16.05 kB / 1.504 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.6852, allocations: 23.91 kB / 1.504 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.6852, allocations: 8 kB / 1.504 GB, free: 11.13 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002109/0.6854, allocations: 199.1 kB / 1.504 GB, free: 10.94 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6854, allocations: 0 / 1.504 GB, free: 10.94 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005491/0.6859, allocations: 127.7 kB / 1.504 GB, free: 10.81 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.0003035/0.6863, allocations: 151.1 kB / 1.504 GB, free: 10.66 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006183/0.6869, allocations: 279.5 kB / 1.505 GB, free: 10.38 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.6869, allocations: 4 kB / 1.505 GB, free: 10.38 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.6872, allocations: 135.8 kB / 1.505 GB, free: 10.25 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000795/0.688, allocations: 147.1 kB / 1.505 GB, free: 10.11 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.6894, allocations: 0.8443 MB / 1.506 GB, free: 9.203 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.6896, allocations: 227.4 kB / 1.506 GB, free: 8.957 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.6898, allocations: 35.42 kB / 1.506 GB, free: 8.922 MB / 1.201 GB Notification: Performance of SimCode: time 4.6e-07/0.6898, allocations: 0 / 1.506 GB, free: 8.922 MB / 1.201 GB Notification: Performance of Templates: time 0.009231/0.699, allocations: 5.899 MB / 1.512 GB, free: 3.078 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 -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.520544907078147]