Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001624/0.001624, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.002028/0.002028, allocations: 216.2 kB / 22.24 MB, free: 5.094 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.836 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.063/3.063, allocations: 476 MB / 0.7699 GB, free: 4.801 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_11_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.002235/0.002235, allocations: 71.56 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4554, allocations: 169.9 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2423/0.6977, allocations: 158.5 MB / 1.438 GB, free: 12.89 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01167/0.7094, allocations: 7.208 MB / 1.445 GB, free: 5.66 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007582/0.7101, allocations: 27.75 kB / 1.445 GB, free: 5.633 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009153/0.7111, allocations: 250.2 kB / 1.445 GB, free: 5.387 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004085/0.7151, allocations: 1.233 MB / 1.446 GB, free: 4.148 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.7177, allocations: 0.7513 MB / 1.447 GB, free: 3.398 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001944/0.7196, allocations: 1.095 MB / 1.448 GB, free: 2.297 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009255/0.7205, allocations: 329.8 kB / 1.448 GB, free: 1.969 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003202/0.7237, allocations: 0.8712 MB / 1.449 GB, free: 1.109 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000985/0.7247, allocations: 434.5 kB / 1.45 GB, free: 0.6836 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.7248, allocations: 36 kB / 1.45 GB, free: 0.6484 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.7267, allocations: 0.7909 MB / 1.451 GB, free: 15.86 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.727, allocations: 167.4 kB / 1.451 GB, free: 15.69 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.7273, allocations: 203 kB / 1.451 GB, free: 15.49 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.7293, allocations: 0.9187 MB / 1.452 GB, free: 14.57 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.7293, allocations: 0 / 1.452 GB, free: 14.57 MB / 1.154 GB Notification: Performance of FrontEnd: time 4.097e-06/0.7293, allocations: 4 kB / 1.452 GB, free: 14.57 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.266e-05/0.7294, allocations: 4 kB / 1.452 GB, free: 14.56 MB / 1.154 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.001532/0.7309, allocations: 0.7342 MB / 1.452 GB, free: 13.8 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.7309, allocations: 8.031 kB / 1.452 GB, free: 13.79 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.732, allocations: 159.5 kB / 1.453 GB, free: 13.63 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.7327, allocations: 340.4 kB / 1.453 GB, free: 13.27 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.7328, allocations: 29 kB / 1.453 GB, free: 13.24 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.35e-05/0.7328, allocations: 40 kB / 1.453 GB, free: 13.2 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/0.7337, allocations: 458.3 kB / 1.453 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.7337, allocations: 0 / 1.453 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.7338, allocations: 19.94 kB / 1.453 GB, free: 12.71 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.7338, allocations: 8 kB / 1.454 GB, free: 12.7 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.7345, allocations: 315.8 kB / 1.454 GB, free: 12.39 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.7367, allocations: 1.404 MB / 1.455 GB, free: 10.94 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.7371, allocations: 222.4 kB / 1.455 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.7374, allocations: 132.8 kB / 1.456 GB, free: 10.58 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005159/0.7379, allocations: 79.91 kB / 1.456 GB, free: 10.5 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.738, allocations: 38.97 kB / 1.456 GB, free: 10.45 MB / 1.154 GB Notification: Performance of pre-optimization done (n=24): time 2.044e-06/0.738, allocations: 0 / 1.456 GB, free: 10.45 MB / 1.154 GB Notification: Performance of matching and sorting (n=24): time 0.001125/0.7391, allocations: 459.3 kB / 1.456 GB, free: 10 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.7392, allocations: 55.41 kB / 1.456 GB, free: 9.934 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.7395, allocations: 280.5 kB / 1.456 GB, free: 9.652 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.7395, allocations: 25.7 kB / 1.456 GB, free: 9.621 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.7397, allocations: 244.2 kB / 1.457 GB, free: 9.379 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 9.184e-05/0.7398, allocations: 91.22 kB / 1.457 GB, free: 9.289 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.7399, allocations: 57.7 kB / 1.457 GB, free: 9.227 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.7401, allocations: 338.8 kB / 1.457 GB, free: 8.887 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.7403, allocations: 111.9 kB / 1.457 GB, free: 8.777 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.7407, allocations: 261 kB / 1.457 GB, free: 8.48 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000608/0.7413, allocations: 309.2 kB / 1.458 GB, free: 8.156 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7413, allocations: 0 / 1.458 GB, free: 8.156 MB / 1.154 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006983/0.742, allocations: 361 kB / 1.458 GB, free: 7.797 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.742, allocations: 11.94 kB / 1.458 GB, free: 7.785 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.742, allocations: 0 / 1.458 GB, free: 7.785 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.7421, allocations: 4 kB / 1.458 GB, free: 7.781 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.7424, allocations: 59.91 kB / 1.458 GB, free: 7.723 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.7424, allocations: 4 kB / 1.458 GB, free: 7.719 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.7426, allocations: 32.09 kB / 1.458 GB, free: 7.688 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.7426, allocations: 15.98 kB / 1.458 GB, free: 7.672 MB / 1.154 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.000211/0.7428, allocations: 173.6 kB / 1.458 GB, free: 7.492 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.246e-05/0.7429, allocations: 39.77 kB / 1.458 GB, free: 7.453 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007465/0.7437, allocations: 351.7 kB / 1.459 GB, free: 7.105 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.7437, allocations: 4 kB / 1.459 GB, free: 7.102 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7437, allocations: 0 / 1.459 GB, free: 7.102 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7437, allocations: 4.031 kB / 1.459 GB, free: 7.098 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.7452, allocations: 0.8352 MB / 1.46 GB, free: 6.203 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.7452, allocations: 4 kB / 1.46 GB, free: 6.199 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.7455, allocations: 47.91 kB / 1.46 GB, free: 6.152 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.7455, allocations: 224 / 1.46 GB, free: 6.152 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.7455, allocations: 12 kB / 1.46 GB, free: 6.141 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.7455, allocations: 7.938 kB / 1.46 GB, free: 6.133 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.7455, allocations: 4 kB / 1.46 GB, free: 6.129 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009937/0.7465, allocations: 0.622 MB / 1.46 GB, free: 5.469 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.7467, allocations: 59.72 kB / 1.46 GB, free: 5.41 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.7467, allocations: 11.94 kB / 1.46 GB, free: 5.398 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.7469, allocations: 12.05 kB / 1.46 GB, free: 5.387 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.7469, allocations: 19.97 kB / 1.46 GB, free: 5.367 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.747, allocations: 12 kB / 1.46 GB, free: 5.355 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001995/0.7472, allocations: 195.1 kB / 1.461 GB, free: 5.164 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.7472, allocations: 0 / 1.461 GB, free: 5.164 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004909/0.7477, allocations: 127.7 kB / 1.461 GB, free: 5.039 MB / 1.154 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.0003005/0.748, allocations: 153.4 kB / 1.461 GB, free: 4.883 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006399/0.7486, allocations: 294.2 kB / 1.461 GB, free: 4.598 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7486, allocations: 0 / 1.461 GB, free: 4.598 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.7489, allocations: 142.3 kB / 1.461 GB, free: 4.461 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007717/0.7497, allocations: 137.7 kB / 1.461 GB, free: 4.328 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.7511, allocations: 0.7881 MB / 1.462 GB, free: 3.484 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.7514, allocations: 231.3 kB / 1.462 GB, free: 3.238 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002502/0.7517, allocations: 86.91 kB / 1.462 GB, free: 3.152 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.7517, allocations: 31.38 kB / 1.462 GB, free: 3.121 MB / 1.154 GB Notification: Performance of SimCode: time 5.51e-07/0.7517, allocations: 0 / 1.462 GB, free: 3.121 MB / 1.154 GB Notification: Performance of Templates: time 0.01298/0.7647, allocations: 6.126 MB / 1.468 GB, free: 13.14 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.17133392766118]