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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 104.6 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 192.1 kB / 22.11 MB, free: 4.227 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.925/2.925, allocations: 495.8 MB / 0.783 GB, free: 12.32 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002007/0.002007, allocations: 63.89 kB / 1.137 GB, free: 12.2 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2321/1.315, allocations: 178.4 MB / 1.481 GB, free: 0.5 MB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.01264/1.328, allocations: 7.875 MB / 1.489 GB, free: 10.16 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/1.329, allocations: 27.78 kB / 1.489 GB, free: 10.14 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009226/1.33, allocations: 242.7 kB / 1.489 GB, free: 9.934 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.004482/1.334, allocations: 1.282 MB / 1.49 GB, free: 8.965 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002382/1.337, allocations: 0.7616 MB / 1.491 GB, free: 8.398 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.002099/1.339, allocations: 1.088 MB / 1.492 GB, free: 7.766 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006669/1.34, allocations: 333.6 kB / 1.492 GB, free: 7.527 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003556/1.343, allocations: 1.026 MB / 1.493 GB, free: 6.906 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008522/1.344, allocations: 449.9 kB / 1.494 GB, free: 6.645 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 7.394e-05/1.344, allocations: 36.88 kB / 1.494 GB, free: 6.645 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001884/1.346, allocations: 0.7933 MB / 1.495 GB, free: 6.207 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002159/1.346, allocations: 159.9 kB / 1.495 GB, free: 6.098 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003765/1.346, allocations: 255.5 kB / 1.495 GB, free: 5.934 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002081/1.349, allocations: 0.8992 MB / 1.496 GB, free: 5.391 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.349, allocations: 3.938 kB / 1.496 GB, free: 5.387 MB / 1.17 GB
Notification: Performance of FrontEnd: time 2.034e-06/1.349, allocations: 0 / 1.496 GB, free: 5.387 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.804e-05/1.349, allocations: 1.594 kB / 1.496 GB, free: 5.387 MB / 1.17 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.001484/1.35, allocations: 0.7451 MB / 1.497 GB, free: 4.781 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.35, allocations: 9.281 kB / 1.497 GB, free: 4.781 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/1.351, allocations: 147.8 kB / 1.497 GB, free: 4.719 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/1.352, allocations: 341.4 kB / 1.497 GB, free: 4.441 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/1.352, allocations: 32.72 kB / 1.497 GB, free: 4.426 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.758e-05/1.352, allocations: 40.45 kB / 1.497 GB, free: 4.41 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008648/1.353, allocations: 445.6 kB / 1.497 GB, free: 4.117 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/1.353, allocations: 0 / 1.497 GB, free: 4.117 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/1.353, allocations: 27.67 kB / 1.498 GB, free: 4.094 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/1.353, allocations: 10.09 kB / 1.498 GB, free: 4.094 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000681/1.354, allocations: 316.7 kB / 1.498 GB, free: 3.953 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/1.356, allocations: 1.967 MB / 1.5 GB, free: 2.152 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/1.357, allocations: 223.7 kB / 1.5 GB, free: 2.027 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/1.357, allocations: 138.1 kB / 1.5 GB, free: 1.957 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/1.358, allocations: 80.25 kB / 1.5 GB, free: 1.926 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/1.358, allocations: 35.94 kB / 1.5 GB, free: 1.883 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=24): time 2.404e-06/1.358, allocations: 0 / 1.5 GB, free: 1.883 MB / 1.17 GB
Notification: Performance of matching and sorting (n=24): time 0.001256/1.359, allocations: 453.3 kB / 1.501 GB, free: 1.656 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/1.359, allocations: 57.59 kB / 1.501 GB, free: 1.59 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/1.359, allocations: 405.7 kB / 1.501 GB, free: 1.309 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 3.949e-05/1.359, allocations: 29.7 kB / 1.501 GB, free: 1.273 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001972/1.36, allocations: 228.6 kB / 1.501 GB, free: 1.047 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 9.054e-05/1.36, allocations: 87.25 kB / 1.501 GB, free: 0.9609 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/1.36, allocations: 65.64 kB / 1.501 GB, free: 0.8906 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001832/1.36, allocations: 354.7 kB / 1.502 GB, free: 0.5352 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/1.36, allocations: 107.9 kB / 1.502 GB, free: 440 kB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/1.361, allocations: 186.8 kB / 1.502 GB, free: 228 kB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/1.361, allocations: 317.3 kB / 1.502 GB, free: 15.89 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.361, allocations: 0 / 1.502 GB, free: 15.89 MB / 1.186 GB
Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007286/1.362, allocations: 363.6 kB / 1.503 GB, free: 15.53 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.362, allocations: 4 kB / 1.503 GB, free: 15.52 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.362, allocations: 7.984 kB / 1.503 GB, free: 15.52 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/1.362, allocations: 8.219 kB / 1.503 GB, free: 15.51 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/1.362, allocations: 55.91 kB / 1.503 GB, free: 15.45 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.362, allocations: 4 kB / 1.503 GB, free: 15.45 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/1.363, allocations: 39.72 kB / 1.503 GB, free: 15.41 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/1.363, allocations: 12 kB / 1.503 GB, free: 15.4 MB / 1.186 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.0002412/1.363, allocations: 173.6 kB / 1.503 GB, free: 15.22 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/1.363, allocations: 43.72 kB / 1.503 GB, free: 15.18 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008202/1.364, allocations: 373.1 kB / 1.503 GB, free: 14.8 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.364, allocations: 0 / 1.503 GB, free: 14.8 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.364, allocations: 0 / 1.503 GB, free: 14.8 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/1.364, allocations: 7.922 kB / 1.503 GB, free: 14.79 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/1.366, allocations: 0.9126 MB / 1.504 GB, free: 13.81 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.366, allocations: 4 kB / 1.504 GB, free: 13.81 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/1.366, allocations: 43.97 kB / 1.504 GB, free: 13.77 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.366, allocations: 7.875 kB / 1.504 GB, free: 13.76 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/1.366, allocations: 8 kB / 1.504 GB, free: 13.75 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.366, allocations: 4.219 kB / 1.504 GB, free: 13.75 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.366, allocations: 8 kB / 1.504 GB, free: 13.74 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/1.367, allocations: 0.6295 MB / 1.505 GB, free: 13.07 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/1.367, allocations: 79.56 kB / 1.505 GB, free: 13 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/1.367, allocations: 11.98 kB / 1.505 GB, free: 12.98 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/1.367, allocations: 12 kB / 1.505 GB, free: 12.97 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/1.368, allocations: 24.03 kB / 1.505 GB, free: 12.95 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/1.368, allocations: 8 kB / 1.505 GB, free: 12.94 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0003191/1.368, allocations: 287.1 kB / 1.505 GB, free: 12.67 MB / 1.186 GB
Notification: Performance of sort global known variables: time 7e-08/1.368, allocations: 0 / 1.505 GB, free: 12.67 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0005374/1.368, allocations: 107.8 kB / 1.506 GB, free: 12.56 MB / 1.186 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.0004467/1.369, allocations: 176.2 kB / 1.506 GB, free: 12.39 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.0007145/1.37, allocations: 291.5 kB / 1.506 GB, free: 12.11 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.37, allocations: 0 / 1.506 GB, free: 12.11 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003055/1.37, allocations: 138.5 kB / 1.506 GB, free: 11.98 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/1.371, allocations: 211 kB / 1.506 GB, free: 11.77 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/1.373, allocations: 0.8144 MB / 1.507 GB, free: 10.9 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/1.373, allocations: 0.8272 MB / 1.508 GB, free: 10.05 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0003048/1.373, allocations: 99.41 kB / 1.508 GB, free: 9.949 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.373, allocations: 39.36 kB / 1.508 GB, free: 9.914 MB / 1.186 GB
Notification: Performance of SimCode: time 3.6e-07/1.373, allocations: 0 / 1.508 GB, free: 9.914 MB / 1.186 GB
Notification: Performance of Templates: time 0.01738/1.391, allocations: 7.852 MB / 1.516 GB, free: 2.18 MB / 1.186 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: 10.118164801038802]