Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.00114/0.00114, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.00109/0.00109, allocations: 161 kB / 24.16 MB, free: 332 kB / 18.57 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 0.9608/0.9608, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.841/1.841, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.047e-05, allocations: 4.219 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.00382/0.003841, allocations: 2.211 MB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004023/0.007864, allocations: 2.756 MB / 0.7649 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.007985, allocations: 0.9375 kB / 0.7649 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009732/0.008959, allocations: 0.4978 MB / 0.7654 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.009237, allocations: 178.9 kB / 0.7656 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.009598, allocations: 205.4 kB / 0.7657 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.009928, allocations: 409.1 kB / 0.7661 GB, free: 420 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.01002, allocations: 37.22 kB / 0.7662 GB, free: 372 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.01018, allocations: 183.5 kB / 0.7663 GB, free: 188 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.01031, allocations: 115.7 kB / 0.7665 GB, free: 72 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.01033, allocations: 14.75 kB / 0.7665 GB, free: 60 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.01047, allocations: 71.91 kB / 0.7665 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.01058, allocations: 131.5 kB / 0.7667 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.522e-05/0.01067, allocations: 111.5 kB / 0.7668 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.01103, allocations: 430.2 kB / 0.7672 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.01104, allocations: 0 / 0.7672 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.01e-07/0.01104, allocations: 0 / 0.7672 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.01104, allocations: 0 / 0.7672 GB, free: 15.33 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006688/0.01171, allocations: 0.8189 MB / 0.768 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.01174, allocations: 12.03 kB / 0.768 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.01179, allocations: 38.33 kB / 0.768 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.01207, allocations: 366.2 kB / 0.7684 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.01208, allocations: 4.375 kB / 0.7684 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.0121, allocations: 5.781 kB / 0.7684 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.01222, allocations: 103.4 kB / 0.7685 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.01222, allocations: 7.922 kB / 0.7685 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.01223, allocations: 0 / 0.7685 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.01224, allocations: 4.562 kB / 0.7685 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.01227, allocations: 24.45 kB / 0.7685 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.0126, allocations: 290.7 kB / 0.7688 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.01276, allocations: 108.6 kB / 0.7689 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.01279, allocations: 24.3 kB / 0.7689 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.0128, allocations: 3.938 kB / 0.7689 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.674e-05/0.01288, allocations: 95.89 kB / 0.769 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.01288, allocations: 0 / 0.769 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001332/0.01302, allocations: 105.6 kB / 0.7691 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.01304, allocations: 59.39 kB / 0.7692 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.01353, allocations: 0.771 MB / 0.7699 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.01355, allocations: 33.7 kB / 0.77 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.01363, allocations: 176.7 kB / 0.7701 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.01365, allocations: 19.83 kB / 0.7702 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.01368, allocations: 21.7 kB / 0.7702 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.01375, allocations: 314 kB / 0.7705 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.01377, allocations: 10.83 kB / 0.7705 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.01381, allocations: 56.27 kB / 0.7705 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.01385, allocations: 48.03 kB / 0.7706 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01386, allocations: 5.5 kB / 0.7706 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.187e-05/0.01395, allocations: 104.4 kB / 0.7707 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.01396, allocations: 7.938 kB / 0.7707 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.01396, allocations: 0.5938 kB / 0.7707 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.01397, allocations: 0 / 0.7707 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/0.01402, allocations: 16.48 kB / 0.7707 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.01402, allocations: 1 kB / 0.7707 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.01408, allocations: 7.953 kB / 0.7707 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.01408, allocations: 4.391 kB / 0.7707 GB, free: 11.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.763e-05/0.01417, allocations: 123.3 kB / 0.7708 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.0142, allocations: 43.88 kB / 0.7709 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.01433, allocations: 133 kB / 0.771 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01433, allocations: 0 / 0.771 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01434, allocations: 4.844 kB / 0.771 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01434, allocations: 0 / 0.771 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01449, allocations: 201.6 kB / 0.7712 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.01449, allocations: 2.781 kB / 0.7712 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.01452, allocations: 8 kB / 0.7712 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.01452, allocations: 0 / 0.7712 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.01452, allocations: 7.922 kB / 0.7712 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01453, allocations: 0 / 0.7712 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01453, allocations: 4 kB / 0.7712 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.373e-05/0.01462, allocations: 130.6 kB / 0.7714 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.01467, allocations: 59.19 kB / 0.7714 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.0147, allocations: 7.938 kB / 0.7714 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.905e-05/0.01475, allocations: 7.984 kB / 0.7714 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.01479, allocations: 7.984 kB / 0.7714 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.0148, allocations: 8 kB / 0.7714 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002723/0.01507, allocations: 391.3 kB / 0.7718 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01507, allocations: 0 / 0.7718 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001562/0.01523, allocations: 59.94 kB / 0.7719 GB, free: 10.28 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001065/0.01629, allocations: 0.5076 MB / 0.7724 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.456e-05/0.01638, allocations: 45.38 kB / 0.7724 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.01638, allocations: 8 kB / 0.7724 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.01642, allocations: 29.45 kB / 0.7724 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.01676, allocations: 174.7 kB / 0.7726 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.01778, allocations: 0.9156 MB / 0.7735 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.01789, allocations: 172.2 kB / 0.7737 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.603e-05/0.01798, allocations: 43.75 kB / 0.7737 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.01817, allocations: 153.2 kB / 0.7739 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.01817, allocations: 0 / 0.7739 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of Templates: time 0.008914/0.02709, allocations: 6.85 MB / 0.7805 GB, free: 1.883 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.98142640478909]