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.001627/0.001627, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001807/0.001807, allocations: 216.5 kB / 22.99 MB, free: 4.945 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.776/2.776, allocations: 476 MB / 0.7707 GB, free: 4.699 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.002044/0.002044, allocations: 66.84 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3156, allocations: 170 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2064/0.522, allocations: 158.5 MB / 1.439 GB, free: 12.79 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01045/0.5325, allocations: 7.214 MB / 1.446 GB, free: 5.555 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007145/0.5332, allocations: 27.75 kB / 1.446 GB, free: 5.527 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008438/0.5341, allocations: 250.2 kB / 1.446 GB, free: 5.281 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.5375, allocations: 1.229 MB / 1.447 GB, free: 4.047 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.5395, allocations: 0.7485 MB / 1.448 GB, free: 3.301 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.541, allocations: 1.099 MB / 1.449 GB, free: 2.195 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000578/0.5416, allocations: 329.9 kB / 1.449 GB, free: 1.867 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.5442, allocations: 0.8553 MB / 1.45 GB, free: 1.02 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007507/0.5449, allocations: 438.3 kB / 1.45 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.32e-05/0.545, allocations: 40 kB / 1.451 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.5467, allocations: 0.7949 MB / 1.451 GB, free: 15.75 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.5469, allocations: 159.4 kB / 1.451 GB, free: 15.6 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.5471, allocations: 211 kB / 1.452 GB, free: 15.39 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.5486, allocations: 0.907 MB / 1.453 GB, free: 14.48 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5487, allocations: 4 kB / 1.453 GB, free: 14.48 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5487, allocations: 0 / 1.453 GB, free: 14.48 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.5487, allocations: 3.938 kB / 1.453 GB, free: 14.47 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.001206/0.5499, allocations: 0.7458 MB / 1.453 GB, free: 13.7 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.5499, allocations: 8.031 kB / 1.453 GB, free: 13.69 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009213/0.5508, allocations: 159.5 kB / 1.453 GB, free: 13.53 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/0.5515, allocations: 344.4 kB / 1.454 GB, free: 13.16 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.5515, allocations: 29 kB / 1.454 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.5516, allocations: 40 kB / 1.454 GB, free: 13.1 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007553/0.5523, allocations: 442.4 kB / 1.454 GB, free: 12.64 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.5524, allocations: 0 / 1.454 GB, free: 12.64 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.5524, allocations: 19.94 kB / 1.454 GB, free: 12.62 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.5524, allocations: 8 kB / 1.454 GB, free: 12.61 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.553, allocations: 327.7 kB / 1.455 GB, free: 12.29 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.002008/0.555, allocations: 1.392 MB / 1.456 GB, free: 10.85 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.5555, allocations: 222.5 kB / 1.456 GB, free: 10.62 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.5557, allocations: 140.8 kB / 1.456 GB, free: 10.48 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004727/0.5562, allocations: 79.91 kB / 1.456 GB, free: 10.4 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.5562, allocations: 38.91 kB / 1.456 GB, free: 10.36 MB / 1.154 GB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.5562, allocations: 0 / 1.456 GB, free: 10.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=24): time 0.001047/0.5573, allocations: 451.4 kB / 1.457 GB, free: 9.91 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.5573, allocations: 55.41 kB / 1.457 GB, free: 9.844 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.5576, allocations: 280.5 kB / 1.457 GB, free: 9.562 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.5577, allocations: 29.7 kB / 1.457 GB, free: 9.527 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.5579, allocations: 248.2 kB / 1.457 GB, free: 9.281 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.597e-05/0.5579, allocations: 91.22 kB / 1.458 GB, free: 9.191 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.767e-05/0.558, allocations: 57.7 kB / 1.458 GB, free: 9.129 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5582, allocations: 342.8 kB / 1.458 GB, free: 8.785 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.5584, allocations: 111.9 kB / 1.458 GB, free: 8.676 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.5588, allocations: 264.9 kB / 1.458 GB, free: 8.375 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.5593, allocations: 307.6 kB / 1.459 GB, free: 8.051 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5593, allocations: 0 / 1.459 GB, free: 8.051 MB / 1.154 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006615/0.56, allocations: 366.7 kB / 1.459 GB, free: 7.688 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.56, allocations: 8 kB / 1.459 GB, free: 7.68 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.56, allocations: 0 / 1.459 GB, free: 7.68 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.56, allocations: 4 kB / 1.459 GB, free: 7.676 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.5603, allocations: 55.91 kB / 1.459 GB, free: 7.621 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5603, allocations: 4 kB / 1.459 GB, free: 7.617 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.5605, allocations: 23.88 kB / 1.459 GB, free: 7.594 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.5606, allocations: 16 kB / 1.459 GB, free: 7.578 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.0001984/0.5608, allocations: 173.8 kB / 1.459 GB, free: 7.398 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.5608, allocations: 35.77 kB / 1.459 GB, free: 7.363 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000731/0.5616, allocations: 363.3 kB / 1.46 GB, free: 7.004 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.5616, allocations: 4 kB / 1.46 GB, free: 7 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5616, allocations: 0 / 1.46 GB, free: 7 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.5616, allocations: 3.984 kB / 1.46 GB, free: 6.996 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.5631, allocations: 0.8275 MB / 1.46 GB, free: 6.109 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.5631, allocations: 4 kB / 1.46 GB, free: 6.105 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.5633, allocations: 43.92 kB / 1.46 GB, free: 6.062 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.5633, allocations: 4 kB / 1.46 GB, free: 6.059 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.5633, allocations: 11.98 kB / 1.46 GB, free: 6.047 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5634, allocations: 3.938 kB / 1.46 GB, free: 6.043 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.882e-06/0.5634, allocations: 7.938 kB / 1.46 GB, free: 6.035 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.5643, allocations: 0.6144 MB / 1.461 GB, free: 5.383 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.5645, allocations: 59.77 kB / 1.461 GB, free: 5.324 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.5645, allocations: 19.91 kB / 1.461 GB, free: 5.305 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.5647, allocations: 4 kB / 1.461 GB, free: 5.301 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.5648, allocations: 23.91 kB / 1.461 GB, free: 5.277 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.5648, allocations: 15.94 kB / 1.461 GB, free: 5.262 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002119/0.565, allocations: 199.1 kB / 1.461 GB, free: 5.066 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/0.565, allocations: 4.062 kB / 1.461 GB, free: 5.062 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004965/0.5655, allocations: 119.7 kB / 1.461 GB, free: 4.945 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.0003125/0.5658, allocations: 163.6 kB / 1.462 GB, free: 4.777 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006437/0.5665, allocations: 275.5 kB / 1.462 GB, free: 4.508 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5665, allocations: 448 / 1.462 GB, free: 4.508 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.5668, allocations: 151.8 kB / 1.462 GB, free: 4.359 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.5675, allocations: 135.2 kB / 1.462 GB, free: 4.234 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.569, allocations: 0.8366 MB / 1.463 GB, free: 3.336 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.5693, allocations: 223.4 kB / 1.463 GB, free: 3.098 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.5694, allocations: 31.44 kB / 1.463 GB, free: 3.066 MB / 1.154 GB Notification: Performance of SimCode: time 6.51e-07/0.5694, allocations: 0 / 1.463 GB, free: 3.066 MB / 1.154 GB Notification: Performance of Templates: time 0.01046/0.5799, allocations: 5.903 MB / 1.469 GB, free: 13.22 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/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.306840857956558]