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.0008743/0.0008743, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008792/0.0008792, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8635/0.8635, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.712/1.712, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.733e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6112/0.6112, allocations: 158.4 MB / 1.137 GB, free: 6.055 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006579/0.6178, allocations: 7.179 MB / 1.144 GB, free: 1.23 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.6182, allocations: 23.44 kB / 1.144 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007206/0.6189, allocations: 254.2 kB / 1.144 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.6219, allocations: 1.254 MB / 1.145 GB, free: 400 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.6236, allocations: 0.7906 MB / 1.146 GB, free: 8 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.6248, allocations: 1.063 MB / 1.147 GB, free: 15.52 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004909/0.6253, allocations: 329.5 kB / 1.148 GB, free: 15.37 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.6275, allocations: 1.165 MB / 1.149 GB, free: 14.87 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.628, allocations: 390.9 kB / 1.149 GB, free: 14.75 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.6281, allocations: 36.91 kB / 1.149 GB, free: 14.75 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.6293, allocations: 0.8002 MB / 1.15 GB, free: 14.45 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.6295, allocations: 172.3 kB / 1.15 GB, free: 14.37 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.6297, allocations: 167 kB / 1.15 GB, free: 14.3 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.6309, allocations: 0.9524 MB / 1.151 GB, free: 13.98 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6309, allocations: 0 / 1.151 GB, free: 13.98 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6309, allocations: 1.062 kB / 1.151 GB, free: 13.98 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.6309, allocations: 2.344 kB / 1.151 GB, free: 13.98 MB / 1.01 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.0008923/0.6318, allocations: 0.747 MB / 1.152 GB, free: 13.42 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.6318, allocations: 8.75 kB / 1.152 GB, free: 13.42 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005575/0.6324, allocations: 150.1 kB / 1.152 GB, free: 13.39 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.6328, allocations: 335.1 kB / 1.152 GB, free: 13.15 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.6329, allocations: 33.78 kB / 1.152 GB, free: 13.14 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.6329, allocations: 36.84 kB / 1.152 GB, free: 13.12 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.6335, allocations: 448.1 kB / 1.153 GB, free: 12.9 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.6335, allocations: 0 / 1.153 GB, free: 12.9 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.6335, allocations: 20.97 kB / 1.153 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.6335, allocations: 9.609 kB / 1.153 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.634, allocations: 314.6 kB / 1.153 GB, free: 12.79 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.6353, allocations: 1.407 MB / 1.155 GB, free: 11.78 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.6357, allocations: 225 kB / 1.155 GB, free: 11.68 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.6359, allocations: 135.8 kB / 1.155 GB, free: 11.64 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/0.6361, allocations: 78.75 kB / 1.155 GB, free: 11.63 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.6362, allocations: 38.47 kB / 1.155 GB, free: 11.59 MB / 1.01 GB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.6362, allocations: 4 kB / 1.155 GB, free: 11.58 MB / 1.01 GB Notification: Performance of matching and sorting (n=24): time 0.0007171/0.6369, allocations: 448.6 kB / 1.155 GB, free: 11.42 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.6369, allocations: 55.56 kB / 1.155 GB, free: 11.36 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.6371, allocations: 284.1 kB / 1.156 GB, free: 11.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.6372, allocations: 29.7 kB / 1.156 GB, free: 11.16 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.6373, allocations: 244.4 kB / 1.156 GB, free: 10.96 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.6373, allocations: 93.39 kB / 1.156 GB, free: 10.89 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.6374, allocations: 57.17 kB / 1.156 GB, free: 10.86 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.6375, allocations: 340 kB / 1.156 GB, free: 10.53 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.6377, allocations: 111.1 kB / 1.157 GB, free: 10.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.6379, allocations: 265 kB / 1.157 GB, free: 10.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.6382, allocations: 306.3 kB / 1.157 GB, free: 10.14 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6383, allocations: 3.938 kB / 1.157 GB, free: 10.13 MB / 1.01 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004333/0.6387, allocations: 358.6 kB / 1.157 GB, free: 9.988 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6387, allocations: 11.91 kB / 1.157 GB, free: 9.984 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6387, allocations: 2.375 kB / 1.157 GB, free: 9.984 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.6387, allocations: 4.484 kB / 1.157 GB, free: 9.984 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.6389, allocations: 60.7 kB / 1.158 GB, free: 9.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6389, allocations: 4.172 kB / 1.158 GB, free: 9.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.639, allocations: 29.2 kB / 1.158 GB, free: 9.965 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.639, allocations: 17.56 kB / 1.158 GB, free: 9.961 MB / 1.01 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.0001282/0.6392, allocations: 163.9 kB / 1.158 GB, free: 9.82 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.6392, allocations: 38.66 kB / 1.158 GB, free: 9.797 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004877/0.6397, allocations: 365.7 kB / 1.158 GB, free: 9.641 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6397, allocations: 2.469 kB / 1.158 GB, free: 9.641 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6397, allocations: 0 / 1.158 GB, free: 9.641 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.6397, allocations: 2.719 kB / 1.158 GB, free: 9.641 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009434/0.6406, allocations: 0.8354 MB / 1.159 GB, free: 9.148 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6406, allocations: 2.828 kB / 1.159 GB, free: 9.148 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.6408, allocations: 47.61 kB / 1.159 GB, free: 9.145 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.6408, allocations: 2.969 kB / 1.159 GB, free: 9.145 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.6408, allocations: 8.859 kB / 1.159 GB, free: 9.141 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.6408, allocations: 3.609 kB / 1.159 GB, free: 9.141 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6408, allocations: 5.969 kB / 1.159 GB, free: 9.137 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.6415, allocations: 0.6187 MB / 1.16 GB, free: 8.785 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.6416, allocations: 60.41 kB / 1.16 GB, free: 8.754 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.6416, allocations: 8.703 kB / 1.16 GB, free: 8.75 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.6417, allocations: 12.2 kB / 1.16 GB, free: 8.746 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.6418, allocations: 29.8 kB / 1.16 GB, free: 8.734 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.6418, allocations: 11.27 kB / 1.16 GB, free: 8.73 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001424/0.6419, allocations: 194.2 kB / 1.16 GB, free: 8.621 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6419, allocations: 1.156 kB / 1.16 GB, free: 8.621 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003181/0.6422, allocations: 123.6 kB / 1.16 GB, free: 8.59 MB / 1.01 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.0002575/0.6425, allocations: 160.2 kB / 1.16 GB, free: 8.477 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000427/0.6429, allocations: 274.2 kB / 1.16 GB, free: 8.398 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6429, allocations: 1.094 kB / 1.16 GB, free: 8.398 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.6431, allocations: 148.4 kB / 1.161 GB, free: 8.352 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.6436, allocations: 131.2 kB / 1.161 GB, free: 8.32 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.6446, allocations: 0.8005 MB / 1.162 GB, free: 7.797 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.6448, allocations: 224.9 kB / 1.162 GB, free: 7.703 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.6449, allocations: 34.31 kB / 1.162 GB, free: 7.695 MB / 1.01 GB Notification: Performance of SimCode: time 6.01e-07/0.6449, allocations: 0 / 1.162 GB, free: 7.695 MB / 1.01 GB Notification: Performance of Templates: time 0.007134/0.652, allocations: 5.914 MB / 1.168 GB, free: 7.07 MB / 1.01 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: 7.7457223711535335]