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.001368/0.001368, allocations: 79.89 kB / 19.76 MB, free: 1.875 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.001512/0.001512, allocations: 157.9 kB / 23.01 MB, free: 4.602 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.758/2.758, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002117/0.002117, allocations: 71.88 kB / 0.982 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.102, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2321/1.334, allocations: 158.5 MB / 1.309 GB, free: 6.109 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01097/1.345, allocations: 7.223 MB / 1.316 GB, free: 496 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008042/1.345, allocations: 25.09 kB / 1.316 GB, free: 484 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000853/1.346, allocations: 248.8 kB / 1.316 GB, free: 264 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003555/1.35, allocations: 1.222 MB / 1.317 GB, free: 15.34 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/1.352, allocations: 0.7513 MB / 1.318 GB, free: 14.79 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001609/1.354, allocations: 1.08 MB / 1.319 GB, free: 14.16 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005862/1.354, allocations: 333.6 kB / 1.319 GB, free: 13.93 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/1.357, allocations: 1.017 MB / 1.32 GB, free: 13.32 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007406/1.358, allocations: 429 kB / 1.321 GB, free: 13.08 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/1.358, allocations: 36.59 kB / 1.321 GB, free: 13.08 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/1.36, allocations: 0.7812 MB / 1.322 GB, free: 12.66 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/1.36, allocations: 163.8 kB / 1.322 GB, free: 12.54 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000266/1.36, allocations: 204.5 kB / 1.322 GB, free: 12.43 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/1.362, allocations: 0.9121 MB / 1.323 GB, free: 11.81 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.362, allocations: 0 / 1.323 GB, free: 11.81 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.183e-06/1.362, allocations: 0 / 1.323 GB, free: 11.81 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.636e-06/1.362, allocations: 0 / 1.323 GB, free: 11.81 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.001239/1.363, allocations: 0.7458 MB / 1.324 GB, free: 11.03 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.363, allocations: 12.03 kB / 1.324 GB, free: 11.02 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000981/1.364, allocations: 163.4 kB / 1.324 GB, free: 10.86 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006495/1.365, allocations: 336.5 kB / 1.324 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/1.365, allocations: 29 kB / 1.324 GB, free: 10.47 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/1.365, allocations: 39.94 kB / 1.324 GB, free: 10.43 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007847/1.366, allocations: 442.4 kB / 1.325 GB, free: 9.977 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.366, allocations: 3.938 kB / 1.325 GB, free: 9.973 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/1.366, allocations: 15.94 kB / 1.325 GB, free: 9.957 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/1.366, allocations: 12 kB / 1.325 GB, free: 9.945 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006792/1.366, allocations: 327.8 kB / 1.325 GB, free: 9.625 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/1.368, allocations: 1.407 MB / 1.326 GB, free: 8.168 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/1.369, allocations: 218.5 kB / 1.326 GB, free: 7.945 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/1.369, allocations: 140.7 kB / 1.327 GB, free: 7.805 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/1.37, allocations: 83.91 kB / 1.327 GB, free: 7.723 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/1.37, allocations: 30.56 kB / 1.327 GB, free: 7.684 MB / 1.17 GB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/1.37, allocations: 0 / 1.327 GB, free: 7.684 MB / 1.17 GB Notification: Performance of matching and sorting (n=24): time 0.001107/1.371, allocations: 448.4 kB / 1.327 GB, free: 7.242 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/1.371, allocations: 55.41 kB / 1.327 GB, free: 7.176 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/1.371, allocations: 276.5 kB / 1.327 GB, free: 6.895 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/1.371, allocations: 29.7 kB / 1.327 GB, free: 6.859 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/1.371, allocations: 248.2 kB / 1.328 GB, free: 6.609 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/1.371, allocations: 87.25 kB / 1.328 GB, free: 6.523 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/1.371, allocations: 65.64 kB / 1.328 GB, free: 6.453 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.372, allocations: 342.8 kB / 1.328 GB, free: 6.109 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/1.372, allocations: 111.9 kB / 1.328 GB, free: 6 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/1.372, allocations: 267.7 kB / 1.329 GB, free: 5.695 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/1.373, allocations: 306.6 kB / 1.329 GB, free: 5.371 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.373, allocations: 0 / 1.329 GB, free: 5.371 MB / 1.17 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007076/1.374, allocations: 358.3 kB / 1.329 GB, free: 5.016 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.374, allocations: 8 kB / 1.329 GB, free: 5.008 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/1.374, allocations: 0 / 1.329 GB, free: 5.008 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/1.374, allocations: 4 kB / 1.329 GB, free: 5.004 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/1.374, allocations: 55.91 kB / 1.329 GB, free: 4.949 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.374, allocations: 7.984 kB / 1.329 GB, free: 4.941 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/1.374, allocations: 39.72 kB / 1.329 GB, free: 4.902 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/1.374, allocations: 11.98 kB / 1.329 GB, free: 4.891 MB / 1.17 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.0002006/1.374, allocations: 166 kB / 1.329 GB, free: 4.719 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/1.374, allocations: 35.75 kB / 1.329 GB, free: 4.684 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007735/1.375, allocations: 359.9 kB / 1.33 GB, free: 4.332 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/1.375, allocations: 8.031 kB / 1.33 GB, free: 4.324 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.375, allocations: 0 / 1.33 GB, free: 4.324 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.375, allocations: 0 / 1.33 GB, free: 4.324 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/1.377, allocations: 0.8313 MB / 1.331 GB, free: 3.434 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.377, allocations: 4 kB / 1.331 GB, free: 3.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/1.377, allocations: 47.91 kB / 1.331 GB, free: 3.383 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.377, allocations: 4 kB / 1.331 GB, free: 3.379 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/1.377, allocations: 8 kB / 1.331 GB, free: 3.371 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.377, allocations: 3.938 kB / 1.331 GB, free: 3.367 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.377, allocations: 7.938 kB / 1.331 GB, free: 3.359 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/1.378, allocations: 0.6211 MB / 1.331 GB, free: 2.703 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/1.378, allocations: 59.75 kB / 1.331 GB, free: 2.645 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/1.378, allocations: 11.94 kB / 1.331 GB, free: 2.633 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/1.378, allocations: 15.92 kB / 1.331 GB, free: 2.617 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/1.379, allocations: 19.97 kB / 1.331 GB, free: 2.598 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/1.379, allocations: 8 kB / 1.331 GB, free: 2.59 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002486/1.379, allocations: 199.1 kB / 1.332 GB, free: 2.398 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/1.379, allocations: 4.062 kB / 1.332 GB, free: 2.395 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005483/1.379, allocations: 123.7 kB / 1.332 GB, free: 2.273 MB / 1.17 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.0002886/1.38, allocations: 151.1 kB / 1.332 GB, free: 2.117 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006405/1.38, allocations: 271.5 kB / 1.332 GB, free: 1.852 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.38, allocations: 4.438 kB / 1.332 GB, free: 1.848 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/1.381, allocations: 151.7 kB / 1.332 GB, free: 1.699 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000816/1.381, allocations: 139.7 kB / 1.332 GB, free: 1.562 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/1.383, allocations: 0.8037 MB / 1.333 GB, free: 0.707 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/1.383, allocations: 223.4 kB / 1.333 GB, free: 480 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002781/1.383, allocations: 86.91 kB / 1.333 GB, free: 392 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/1.384, allocations: 32.5 kB / 1.334 GB, free: 360 kB / 1.17 GB Notification: Performance of SimCode: time 6.11e-07/1.384, allocations: 0 / 1.334 GB, free: 360 kB / 1.17 GB Notification: Performance of Templates: time 0.0125/1.396, allocations: 5.496 MB / 1.339 GB, free: 11 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 -s ida -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: 9.536283320980147]