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.001838/0.001838, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002499/0.002499, allocations: 212.1 kB / 22.24 MB, free: 5.242 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.797 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.334/3.334, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 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.002034/0.002034, allocations: 70.98 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4309, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2582/0.6891, allocations: 158.5 MB / 1.48 GB, free: 2.758 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.7031, allocations: 7.215 MB / 1.487 GB, free: 11.52 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.7042, allocations: 27.75 kB / 1.487 GB, free: 11.5 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.7054, allocations: 250.2 kB / 1.488 GB, free: 11.25 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00466/0.7101, allocations: 1.213 MB / 1.489 GB, free: 10.03 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.7129, allocations: 0.7596 MB / 1.49 GB, free: 9.273 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002104/0.715, allocations: 1.08 MB / 1.491 GB, free: 8.191 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.7161, allocations: 317.9 kB / 1.491 GB, free: 7.867 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/0.7204, allocations: 1.018 MB / 1.492 GB, free: 6.855 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.7215, allocations: 426.4 kB / 1.492 GB, free: 6.438 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.7217, allocations: 36 kB / 1.492 GB, free: 6.402 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.7241, allocations: 0.7831 MB / 1.493 GB, free: 5.617 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003886/0.7245, allocations: 163.5 kB / 1.493 GB, free: 5.457 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004811/0.725, allocations: 203.1 kB / 1.494 GB, free: 5.258 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.7277, allocations: 0.9226 MB / 1.494 GB, free: 4.332 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7278, allocations: 0 / 1.494 GB, free: 4.332 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7278, allocations: 0 / 1.494 GB, free: 4.332 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.788e-05/0.7278, allocations: 4 kB / 1.494 GB, free: 4.328 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.001984/0.7298, allocations: 0.7435 MB / 1.495 GB, free: 3.555 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.7298, allocations: 8.031 kB / 1.495 GB, free: 3.547 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.731, allocations: 163.4 kB / 1.495 GB, free: 3.387 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008633/0.7319, allocations: 332.5 kB / 1.496 GB, free: 3.035 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.7319, allocations: 29 kB / 1.496 GB, free: 3.008 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.732, allocations: 36 kB / 1.496 GB, free: 2.973 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.7329, allocations: 454.4 kB / 1.496 GB, free: 2.5 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.7329, allocations: 4 kB / 1.496 GB, free: 2.496 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.733, allocations: 19.94 kB / 1.496 GB, free: 2.477 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.733, allocations: 8 kB / 1.496 GB, free: 2.469 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/0.7337, allocations: 315.7 kB / 1.496 GB, free: 2.164 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.7363, allocations: 1.415 MB / 1.498 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.7367, allocations: 214.5 kB / 1.498 GB, free: 488 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.737, allocations: 140.8 kB / 1.498 GB, free: 344 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004998/0.7375, allocations: 79.91 kB / 1.498 GB, free: 264 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.7376, allocations: 38.5 kB / 1.498 GB, free: 216 kB / 1.186 GB Notification: Performance of pre-optimization done (n=24): time 2.064e-06/0.7376, allocations: 0 / 1.498 GB, free: 216 kB / 1.186 GB Notification: Performance of matching and sorting (n=24): time 0.00122/0.7388, allocations: 443.2 kB / 1.499 GB, free: 15.77 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.7389, allocations: 51.41 kB / 1.499 GB, free: 15.71 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.7393, allocations: 288.5 kB / 1.499 GB, free: 15.42 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.7393, allocations: 33.7 kB / 1.499 GB, free: 15.38 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.7396, allocations: 240.2 kB / 1.499 GB, free: 15.14 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.7397, allocations: 83.27 kB / 1.499 GB, free: 15.06 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.7399, allocations: 61.64 kB / 1.499 GB, free: 14.99 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002211/0.7401, allocations: 342.8 kB / 1.5 GB, free: 14.65 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.7404, allocations: 115.9 kB / 1.5 GB, free: 14.54 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.7408, allocations: 267.7 kB / 1.5 GB, free: 14.23 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/0.7414, allocations: 312.9 kB / 1.5 GB, free: 13.9 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7414, allocations: 0 / 1.5 GB, free: 13.9 MB / 1.201 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007626/0.7422, allocations: 357 kB / 1.501 GB, free: 13.55 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.7422, allocations: 4 kB / 1.501 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.7422, allocations: 4 kB / 1.501 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.7422, allocations: 224 / 1.501 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.7425, allocations: 63.91 kB / 1.501 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.7425, allocations: 0 / 1.501 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.7427, allocations: 35.77 kB / 1.501 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.7428, allocations: 12 kB / 1.501 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.0002377/0.743, allocations: 173.7 kB / 1.501 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.458e-05/0.7431, allocations: 27.81 kB / 1.501 GB, free: 13.22 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007832/0.7439, allocations: 362.1 kB / 1.501 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.7439, allocations: 4 kB / 1.501 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.7439, allocations: 4 kB / 1.501 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.7439, allocations: 3.984 kB / 1.501 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.7455, allocations: 0.8219 MB / 1.502 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.7455, allocations: 12.16 kB / 1.502 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.7458, allocations: 51.91 kB / 1.502 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.7458, allocations: 4 kB / 1.502 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.7458, allocations: 8 kB / 1.502 GB, free: 11.9 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.7458, allocations: 7.938 kB / 1.502 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7458, allocations: 0 / 1.502 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.7469, allocations: 0.6261 MB / 1.503 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.7471, allocations: 63.81 kB / 1.503 GB, free: 11.17 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.7471, allocations: 7.938 kB / 1.503 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.7473, allocations: 12 kB / 1.503 GB, free: 11.15 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.7474, allocations: 23.91 kB / 1.503 GB, free: 11.13 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.7474, allocations: 11.98 kB / 1.503 GB, free: 11.12 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002256/0.7477, allocations: 195.1 kB / 1.503 GB, free: 10.93 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.7477, allocations: 0 / 1.503 GB, free: 10.93 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005838/0.7482, allocations: 127.7 kB / 1.503 GB, free: 10.8 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.0004085/0.7486, allocations: 159.1 kB / 1.503 GB, free: 10.64 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007138/0.7494, allocations: 275.6 kB / 1.504 GB, free: 10.37 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7494, allocations: 0 / 1.504 GB, free: 10.37 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.7497, allocations: 140.7 kB / 1.504 GB, free: 10.23 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008404/0.7505, allocations: 137.2 kB / 1.504 GB, free: 10.1 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.7522, allocations: 0.8075 MB / 1.505 GB, free: 9.242 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.7525, allocations: 231.4 kB / 1.505 GB, free: 8.992 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002997/0.7528, allocations: 78.92 kB / 1.505 GB, free: 8.914 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.7529, allocations: 31.42 kB / 1.505 GB, free: 8.883 MB / 1.201 GB Notification: Performance of SimCode: time 1.552e-06/0.753, allocations: 0 / 1.505 GB, free: 8.883 MB / 1.201 GB Notification: Performance of Templates: time 0.01496/0.7679, allocations: 6.13 MB / 1.511 GB, free: 2.887 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/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.116731628775597]