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.001761/0.001761, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002208/0.002208, allocations: 216.1 kB / 23.01 MB, free: 4.609 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.055 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 2.708/2.708, allocations: 476.8 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] 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.002033/0.002033, allocations: 64.97 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2943, allocations: 170 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2161/0.5104, allocations: 183.2 MB / 1.464 GB, free: 3.371 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.5209, allocations: 7.942 MB / 1.471 GB, free: 11.41 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.5215, allocations: 27.75 kB / 1.471 GB, free: 11.38 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007298/0.5223, allocations: 246.2 kB / 1.472 GB, free: 11.14 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.5256, allocations: 1.287 MB / 1.473 GB, free: 9.844 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.5275, allocations: 0.7821 MB / 1.474 GB, free: 9.062 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001495/0.529, allocations: 1.091 MB / 1.475 GB, free: 7.965 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005899/0.5296, allocations: 333.9 kB / 1.475 GB, free: 7.633 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002532/0.5322, allocations: 0.8783 MB / 1.476 GB, free: 6.766 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007525/0.5329, allocations: 454.4 kB / 1.476 GB, free: 6.32 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.589e-05/0.533, allocations: 40 kB / 1.476 GB, free: 6.281 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.535, allocations: 1.021 MB / 1.477 GB, free: 5.258 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.5352, allocations: 167.5 kB / 1.477 GB, free: 5.094 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.5354, allocations: 242.8 kB / 1.478 GB, free: 4.855 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.537, allocations: 0.9421 MB / 1.479 GB, free: 3.91 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.537, allocations: 0 / 1.479 GB, free: 3.91 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.403e-06/0.537, allocations: 0 / 1.479 GB, free: 3.91 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.537, allocations: 0 / 1.479 GB, free: 3.91 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.001195/0.5382, allocations: 0.7473 MB / 1.479 GB, free: 3.133 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.5382, allocations: 15.97 kB / 1.479 GB, free: 3.117 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009306/0.5392, allocations: 151.5 kB / 1.479 GB, free: 2.969 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006235/0.5398, allocations: 340.4 kB / 1.48 GB, free: 2.605 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.5398, allocations: 33 kB / 1.48 GB, free: 2.574 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.5399, allocations: 36 kB / 1.48 GB, free: 2.539 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007522/0.5406, allocations: 450.4 kB / 1.48 GB, free: 2.078 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5406, allocations: 0 / 1.48 GB, free: 2.078 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.5407, allocations: 23.94 kB / 1.48 GB, free: 2.055 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.5407, allocations: 11.94 kB / 1.48 GB, free: 2.043 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006551/0.5413, allocations: 323.8 kB / 1.481 GB, free: 1.723 MB / 1.17 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.002402/0.5437, allocations: 1.968 MB / 1.483 GB, free: 15.59 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.5442, allocations: 226.4 kB / 1.483 GB, free: 15.36 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.5444, allocations: 136.8 kB / 1.483 GB, free: 15.22 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005187/0.545, allocations: 79.91 kB / 1.483 GB, free: 15.14 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.545, allocations: 34.91 kB / 1.483 GB, free: 15.1 MB / 1.186 GB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.545, allocations: 0 / 1.483 GB, free: 15.1 MB / 1.186 GB Notification: Performance of matching and sorting (n=24): time 0.001072/0.5461, allocations: 466.9 kB / 1.483 GB, free: 14.64 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.5461, allocations: 55.41 kB / 1.484 GB, free: 14.57 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.5466, allocations: 397.9 kB / 1.484 GB, free: 14.18 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.5466, allocations: 33.7 kB / 1.484 GB, free: 14.14 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.5468, allocations: 228.6 kB / 1.484 GB, free: 13.91 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.5469, allocations: 87.22 kB / 1.484 GB, free: 13.82 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.547, allocations: 57.7 kB / 1.484 GB, free: 13.76 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5471, allocations: 350.7 kB / 1.485 GB, free: 13.41 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.5474, allocations: 111.9 kB / 1.485 GB, free: 13.3 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.5477, allocations: 191.2 kB / 1.485 GB, free: 13.09 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.5482, allocations: 305.3 kB / 1.485 GB, free: 12.77 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5482, allocations: 0 / 1.485 GB, free: 12.77 MB / 1.186 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006751/0.5489, allocations: 364.9 kB / 1.486 GB, free: 12.41 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.5489, allocations: 11.98 kB / 1.486 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5489, allocations: 0 / 1.486 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5489, allocations: 4.219 kB / 1.486 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.5492, allocations: 63.91 kB / 1.486 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5492, allocations: 4 kB / 1.486 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.5495, allocations: 39.77 kB / 1.486 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.5495, allocations: 19.98 kB / 1.486 GB, free: 12.27 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.0001971/0.5497, allocations: 165.7 kB / 1.486 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.5498, allocations: 39.77 kB / 1.486 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007541/0.5505, allocations: 380 kB / 1.486 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5505, allocations: 4 kB / 1.486 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5505, allocations: 3.938 kB / 1.486 GB, free: 11.67 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5505, allocations: 3.984 kB / 1.486 GB, free: 11.67 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.5521, allocations: 0.9088 MB / 1.487 GB, free: 10.69 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5521, allocations: 0 / 1.487 GB, free: 10.69 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.5523, allocations: 55.84 kB / 1.487 GB, free: 10.63 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.5523, allocations: 7.938 kB / 1.487 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.5524, allocations: 4 kB / 1.487 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.5524, allocations: 4.219 kB / 1.487 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.5524, allocations: 11.94 kB / 1.487 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.5534, allocations: 0.6298 MB / 1.488 GB, free: 9.938 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.5537, allocations: 67.67 kB / 1.488 GB, free: 9.871 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.5537, allocations: 11.98 kB / 1.488 GB, free: 9.859 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.5539, allocations: 4 kB / 1.488 GB, free: 9.855 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.554, allocations: 27.97 kB / 1.488 GB, free: 9.828 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.554, allocations: 8 kB / 1.488 GB, free: 9.82 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003148/0.5543, allocations: 287.1 kB / 1.488 GB, free: 9.543 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.5543, allocations: 0 / 1.488 GB, free: 9.543 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004846/0.5548, allocations: 111.8 kB / 1.488 GB, free: 9.434 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.0003057/0.5551, allocations: 148.3 kB / 1.488 GB, free: 9.281 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006195/0.5557, allocations: 294 kB / 1.489 GB, free: 8.996 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5557, allocations: 0 / 1.489 GB, free: 8.996 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.556, allocations: 139.8 kB / 1.489 GB, free: 8.859 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.5571, allocations: 234.2 kB / 1.489 GB, free: 8.641 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.5586, allocations: 0.8522 MB / 1.49 GB, free: 7.727 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.5591, allocations: 0.8272 MB / 1.491 GB, free: 6.871 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.5592, allocations: 39.44 kB / 1.491 GB, free: 6.832 MB / 1.186 GB Notification: Performance of SimCode: time 5.21e-07/0.5592, allocations: 0 / 1.491 GB, free: 6.832 MB / 1.186 GB Notification: Performance of Templates: time 0.01196/0.5712, allocations: 6.851 MB / 1.497 GB, free: 56 kB / 1.186 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/jenkins1/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: 12.529897122003604]