Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.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.001426/0.001426, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001917/0.001917, allocations: 220 kB / 23.01 MB, free: 4.969 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.488/3.488, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.DXSystems.Heating.AirSource.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinSpeDX.on|sinSpeDX.TOut|sinSpeDX.vol.T|sinSpeDX.port_a.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed") translateModel(Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinSpeDX.on|sinSpeDX.TOut|sinSpeDX.vol.T|sinSpeDX.port_a.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed") [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.002116/0.002116, allocations: 73.3 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5072, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed): time 0.2728/0.78, allocations: 178.7 MB / 1.502 GB, free: 13.62 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02436/0.8044, allocations: 13.43 MB / 1.515 GB, free: 152 kB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.8072, allocations: 59.56 kB / 1.515 GB, free: 92 kB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.004475/0.8117, allocations: 1.056 MB / 1.516 GB, free: 15.02 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.008345/0.82, allocations: 1.995 MB / 1.518 GB, free: 13.02 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006726/0.8268, allocations: 1.806 MB / 1.52 GB, free: 11.23 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.007272/0.834, allocations: 3.525 MB / 1.523 GB, free: 7.695 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.8363, allocations: 0.9555 MB / 1.524 GB, free: 6.703 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005912/0.8422, allocations: 1.703 MB / 1.526 GB, free: 5.02 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002936/0.8451, allocations: 1.083 MB / 1.527 GB, free: 3.934 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004782/0.8456, allocations: 176 kB / 1.527 GB, free: 3.762 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005498/0.8511, allocations: 1.883 MB / 1.529 GB, free: 1.875 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0009923/0.8521, allocations: 0.6543 MB / 1.529 GB, free: 1.219 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.8536, allocations: 0.797 MB / 1.53 GB, free: 428 kB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.008347/0.862, allocations: 3.975 MB / 1.534 GB, free: 12.43 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.862, allocations: 4 kB / 1.534 GB, free: 12.43 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.024e-06/0.862, allocations: 0 / 1.534 GB, free: 12.43 MB / 1.232 GB Notification: Performance of Transformations before backend: time 5.573e-05/0.862, allocations: 0 / 1.534 GB, free: 12.43 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.006671/0.8687, allocations: 2.522 MB / 1.536 GB, free: 9.844 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.8688, allocations: 8.031 kB / 1.536 GB, free: 9.836 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005038/0.8738, allocations: 0.6036 MB / 1.537 GB, free: 9.23 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005101/0.8789, allocations: 2.072 MB / 1.539 GB, free: 7.117 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.8792, allocations: 252.2 kB / 1.539 GB, free: 6.836 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.8794, allocations: 99.94 kB / 1.539 GB, free: 6.738 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/0.8827, allocations: 1.421 MB / 1.541 GB, free: 5.262 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.8828, allocations: 7.922 kB / 1.541 GB, free: 5.254 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.8829, allocations: 36 kB / 1.541 GB, free: 5.219 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.116e-05/0.883, allocations: 34 kB / 1.541 GB, free: 5.188 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.8863, allocations: 1.222 MB / 1.542 GB, free: 3.961 MB / 1.232 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.01015/0.8965, allocations: 3.837 MB / 1.546 GB, free: 68 kB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004304/0.9008, allocations: 1.096 MB / 1.547 GB, free: 14.96 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.9019, allocations: 494.5 kB / 1.547 GB, free: 14.47 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003658/0.9023, allocations: 64.61 kB / 1.547 GB, free: 14.41 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/0.904, allocations: 0.812 MB / 1.548 GB, free: 13.55 MB / 1.248 GB Notification: Performance of pre-optimization done (n=75): time 4.608e-06/0.904, allocations: 0 / 1.548 GB, free: 13.55 MB / 1.248 GB Notification: Performance of matching and sorting (n=77): time 0.01004/0.914, allocations: 3.222 MB / 1.551 GB, free: 10.28 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.9141, allocations: 89.77 kB / 1.551 GB, free: 10.18 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/0.917, allocations: 1.76 MB / 1.553 GB, free: 8.41 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.9172, allocations: 53.55 kB / 1.553 GB, free: 8.355 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009111/0.9181, allocations: 0.7536 MB / 1.554 GB, free: 7.594 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.9185, allocations: 277.6 kB / 1.554 GB, free: 7.32 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/0.9189, allocations: 206.5 kB / 1.554 GB, free: 7.113 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.9191, allocations: 341.9 kB / 1.555 GB, free: 6.773 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.9205, allocations: 0.6414 MB / 1.555 GB, free: 6.113 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.9222, allocations: 0.964 MB / 1.556 GB, free: 5.035 MB / 1.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: sinSpeDX.vol.dynBal.medium.p = sinSpeDX.vol.dynBal.p_start (101325.0 = sinSpeDX.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009836/0.932, allocations: 3.415 MB / 1.56 GB, free: 1.535 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.932, allocations: 0 / 1.56 GB, free: 1.535 MB / 1.248 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004644/0.9366, allocations: 1.761 MB / 1.561 GB, free: 15.73 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.9367, allocations: 71.39 kB / 1.561 GB, free: 15.65 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.9368, allocations: 4 kB / 1.561 GB, free: 15.65 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007362/0.9375, allocations: 96.88 kB / 1.561 GB, free: 15.55 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.9386, allocations: 203.7 kB / 1.562 GB, free: 15.35 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.9412, allocations: 1.59 MB / 1.563 GB, free: 13.66 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.9429, allocations: 51.95 kB / 1.563 GB, free: 13.61 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.943, allocations: 64.02 kB / 1.563 GB, free: 13.54 MB / 1.264 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: sinSpeDX.vol.dynBal.medium.p = sinSpeDX.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002705/0.9457, allocations: 1.154 MB / 1.564 GB, free: 12.37 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00158/0.9473, allocations: 0.9718 MB / 1.565 GB, free: 11.28 MB / 1.264 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: sinSpeDX.vol.dynBal.medium.p = sinSpeDX.vol.dynBal.p_start (101325.0 = sinSpeDX.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009553/0.9568, allocations: 3.388 MB / 1.569 GB, free: 7.809 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.009e-06/0.9569, allocations: 0 / 1.569 GB, free: 7.809 MB / 1.264 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.004401/0.9613, allocations: 1.757 MB / 1.57 GB, free: 6.016 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.9614, allocations: 81.5 kB / 1.571 GB, free: 5.926 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.9614, allocations: 4 kB / 1.571 GB, free: 5.922 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006524/0.962, allocations: 96.83 kB / 1.571 GB, free: 5.824 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.9631, allocations: 199.7 kB / 1.571 GB, free: 5.629 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.9655, allocations: 1.576 MB / 1.572 GB, free: 3.949 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.9671, allocations: 55.94 kB / 1.572 GB, free: 3.895 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.9673, allocations: 67.95 kB / 1.572 GB, free: 3.828 MB / 1.264 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: sinSpeDX.vol.dynBal.medium.p = sinSpeDX.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.sinSpeDX.defTimFra.hysTOut.y,sinSpeDX.i_x,$PRE.sinSpeDX.dxCoi.coiCap.checkBoundsTCon[1],$PRE.sinSpeDX.dxCoi.coiCap.checkBoundsTEva[1],sinSpeDX.defTimFra.hysTOut.y,onOff.y,sinSpeDX.dxCoi.coiCap.checkBoundsTCon[1],sinSpeDX.dxCoi.coiCap.checkBoundsTEva[1],sinSpeDX.dxCoi.coiCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 96 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005569/0.9678, allocations: 251.9 kB / 1.573 GB, free: 3.574 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.9681, allocations: 166.9 kB / 1.573 GB, free: 3.41 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/0.9718, allocations: 1.283 MB / 1.574 GB, free: 2.113 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002766/0.9745, allocations: 1.082 MB / 1.575 GB, free: 1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.9745, allocations: 0 / 1.575 GB, free: 1 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.9756, allocations: 326.7 kB / 1.575 GB, free: 0.6797 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.9758, allocations: 20 kB / 1.575 GB, free: 0.6602 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009696/0.9768, allocations: 47.94 kB / 1.576 GB, free: 0.6133 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.977, allocations: 64.48 kB / 1.576 GB, free: 0.5508 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003547/0.9805, allocations: 1.29 MB / 1.577 GB, free: 15.25 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004013/0.9845, allocations: 1.973 MB / 1.579 GB, free: 13.25 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001119/0.9857, allocations: 473 kB / 1.579 GB, free: 12.79 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002125/0.9878, allocations: 1.248 MB / 1.58 GB, free: 11.55 MB / 1.279 GB Notification: Performance of Backend: time 1.002e-06/0.9878, allocations: 3.938 kB / 1.58 GB, free: 11.54 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007415/0.9952, allocations: 2.544 MB / 1.583 GB, free: 8.906 MB / 1.279 GB Notification: Performance of SimCode: time 0.008033/1.003, allocations: 3.915 MB / 1.587 GB, free: 4.949 MB / 1.279 GB Notification: Performance of Templates: time 1.03/2.033, allocations: 45.73 MB / 1.631 GB, free: 271.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Heating_AirSource_Examples_SingleSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.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.862105232998147]