Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009754/0.0009754, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001126/0.001126, allocations: 167.3 kB / 24.87 MB, free: 8.895 MB / 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.9993/0.9993, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.761/1.761, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.935e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004989/0.005019, allocations: 2.21 MB / 0.7905 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004081/0.0091, allocations: 2.698 MB / 0.7931 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.009385, allocations: 3.938 kB / 0.7931 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.01118, allocations: 0.493 MB / 0.7936 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006491/0.01183, allocations: 171.1 kB / 0.7938 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007236/0.01255, allocations: 205.9 kB / 0.794 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007331/0.01328, allocations: 406.7 kB / 0.7944 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.01347, allocations: 25.28 kB / 0.7944 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.01388, allocations: 183.5 kB / 0.7946 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.01415, allocations: 129.3 kB / 0.7947 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.0142, allocations: 8 kB / 0.7947 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.01447, allocations: 75.81 kB / 0.7948 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.01467, allocations: 139.4 kB / 0.7949 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.01486, allocations: 108.3 kB / 0.795 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000759/0.01562, allocations: 426.3 kB / 0.7954 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.01562, allocations: 0.5625 kB / 0.7954 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01563, allocations: 0 / 0.7954 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.01564, allocations: 0.8438 kB / 0.7954 GB, free: 4.957 MB / 0.7448 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.001469/0.01711, allocations: 1.038 MB / 0.7964 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.01715, allocations: 8.031 kB / 0.7964 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.0173, allocations: 76.47 kB / 0.7965 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.01782, allocations: 380.9 kB / 0.7969 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.01785, allocations: 4.375 kB / 0.7969 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.01787, allocations: 5 kB / 0.7969 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.01808, allocations: 99.09 kB / 0.797 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.01809, allocations: 7.938 kB / 0.797 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.0181, allocations: 0 / 0.797 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.0181, allocations: 0 / 0.797 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.686e-05/0.01816, allocations: 19.97 kB / 0.797 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007674/0.01893, allocations: 480 kB / 0.7975 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.01919, allocations: 68.97 kB / 0.7975 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.556e-05/0.01922, allocations: 23.7 kB / 0.7975 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.01924, allocations: 3.938 kB / 0.7975 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.01939, allocations: 103.2 kB / 0.7976 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.0194, allocations: 0.5625 kB / 0.7976 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000522/0.01992, allocations: 158.8 kB / 0.7978 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.01995, allocations: 55.41 kB / 0.7978 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.02109, allocations: 0.917 MB / 0.7987 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.02112, allocations: 33.64 kB / 0.7988 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/0.02155, allocations: 455.8 kB / 0.7992 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.02159, allocations: 15.84 kB / 0.7992 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.02165, allocations: 31.36 kB / 0.7993 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.02181, allocations: 493.1 kB / 0.7997 GB, free: 336 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.02184, allocations: 12 kB / 0.7997 GB, free: 324 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.02192, allocations: 65.58 kB / 0.7998 GB, free: 240 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/0.02199, allocations: 47.08 kB / 0.7998 GB, free: 188 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.02199, allocations: 3.938 kB / 0.7998 GB, free: 184 kB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002206/0.02222, allocations: 145.1 kB / 0.8 GB, free: 32 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.02223, allocations: 11.98 kB / 0.8 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.02224, allocations: 0 / 0.8 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.02225, allocations: 0 / 0.8 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.02232, allocations: 19.94 kB / 0.8 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.02232, allocations: 400 / 0.8 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.02245, allocations: 7.984 kB / 0.8 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.02246, allocations: 5.25 kB / 0.8 GB, free: 15.99 MB / 0.7605 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 0.0001814/0.02265, allocations: 168.5 kB / 0.8002 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.806e-05/0.02272, allocations: 75.47 kB / 0.8003 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.02298, allocations: 149.1 kB / 0.8004 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.02298, allocations: 0 / 0.8004 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.02298, allocations: 5.062 kB / 0.8004 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.02299, allocations: 3.984 kB / 0.8004 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.02339, allocations: 325 kB / 0.8007 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.02339, allocations: 1.062 kB / 0.8007 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.02343, allocations: 8 kB / 0.8007 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.02343, allocations: 3.938 kB / 0.8007 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.02344, allocations: 5.219 kB / 0.8007 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.02344, allocations: 3.984 kB / 0.8007 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.02345, allocations: 0 / 0.8007 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.02368, allocations: 189.7 kB / 0.8009 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.02376, allocations: 55.53 kB / 0.801 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.02381, allocations: 11.88 kB / 0.801 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/0.02391, allocations: 7.984 kB / 0.801 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.02396, allocations: 12.58 kB / 0.801 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.02398, allocations: 8 kB / 0.801 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005274/0.02451, allocations: 499.5 kB / 0.8015 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1e-07/0.02451, allocations: 0 / 0.8015 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003394/0.02485, allocations: 61.03 kB / 0.8015 GB, free: 14.37 MB / 0.7605 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.001406/0.02626, allocations: 398.5 kB / 0.8019 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.02642, allocations: 47.64 kB / 0.802 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.02643, allocations: 3.938 kB / 0.802 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/0.02649, allocations: 35.73 kB / 0.802 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.02715, allocations: 175.9 kB / 0.8022 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.02886, allocations: 0.9259 MB / 0.8031 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.02904, allocations: 192.2 kB / 0.8033 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.0292, allocations: 38.95 kB / 0.8033 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.02949, allocations: 186.1 kB / 0.8035 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of SimCode: time 1.413e-06/0.02949, allocations: 0 / 0.8035 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of Templates: time 0.01486/0.04435, allocations: 6.948 MB / 0.8103 GB, free: 5.699 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.21687609096989]