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.0009753/0.0009753, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001605/0.001605, allocations: 169 kB / 24.28 MB, free: 276 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.9573/0.9573, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.708/1.708, allocations: 359 MB / 0.6055 GB, free: 11.02 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 1.022e-06/1.022e-06, allocations: 0 / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.515e-05, allocations: 5.406 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002438/0.002453, allocations: 2.217 MB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002543/0.004997, allocations: 2.74 MB / 0.792 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.724e-05/0.005094, allocations: 0 / 0.792 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008751/0.005969, allocations: 0.4966 MB / 0.7925 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.00621, allocations: 164.4 kB / 0.7926 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.006545, allocations: 214.6 kB / 0.7928 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.006886, allocations: 403.1 kB / 0.7932 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.006979, allocations: 25.28 kB / 0.7932 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004176/0.007396, allocations: 175.5 kB / 0.7934 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.007537, allocations: 129 kB / 0.7935 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.007559, allocations: 8 kB / 0.7935 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.007686, allocations: 79.81 kB / 0.7936 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.007812, allocations: 137.2 kB / 0.7937 GB, free: 6 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.347e-05/0.007906, allocations: 107.5 kB / 0.7938 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.008285, allocations: 426.4 kB / 0.7942 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.008287, allocations: 3.938 kB / 0.7942 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.008288, allocations: 0.875 kB / 0.7942 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.008292, allocations: 0 / 0.7942 GB, free: 5.473 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.0008543/0.009146, allocations: 1.04 MB / 0.7953 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.009178, allocations: 8.031 kB / 0.7953 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.073e-05/0.009259, allocations: 88.44 kB / 0.7954 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.009591, allocations: 381 kB / 0.7957 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.009612, allocations: 12.36 kB / 0.7957 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.009625, allocations: 4.375 kB / 0.7957 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.009802, allocations: 149.7 kB / 0.7959 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.009809, allocations: 3.938 kB / 0.7959 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.009819, allocations: 0.5 kB / 0.7959 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.009826, allocations: 0 / 0.7959 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.53e-05/0.009881, allocations: 41.78 kB / 0.7959 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.01048, allocations: 0.6557 MB / 0.7966 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.01069, allocations: 83.12 kB / 0.7966 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.01073, allocations: 29.8 kB / 0.7967 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.01074, allocations: 0 / 0.7967 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.01085, allocations: 102.7 kB / 0.7968 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.01085, allocations: 0 / 0.7968 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002381/0.01109, allocations: 181.6 kB / 0.7969 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.01113, allocations: 77.11 kB / 0.797 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007316/0.01186, allocations: 0.9418 MB / 0.7979 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.01188, allocations: 29.7 kB / 0.798 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.01216, allocations: 459.6 kB / 0.7984 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.01219, allocations: 19.86 kB / 0.7984 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.01222, allocations: 32.67 kB / 0.7984 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.01232, allocations: 484.4 kB / 0.7989 GB, free: 476 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/0.01235, allocations: 19.98 kB / 0.7989 GB, free: 456 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.01241, allocations: 106.6 kB / 0.799 GB, free: 320 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.289e-05/0.01247, allocations: 60.25 kB / 0.7991 GB, free: 252 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.01248, allocations: 5.719 kB / 0.7991 GB, free: 248 kB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001355/0.01261, allocations: 149.2 kB / 0.7992 GB, free: 92 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.01262, allocations: 4 kB / 0.7992 GB, free: 88 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.01263, allocations: 4 kB / 0.7992 GB, free: 84 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.01264, allocations: 2.594 kB / 0.7992 GB, free: 84 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.767e-05/0.01268, allocations: 15.94 kB / 0.7993 GB, free: 68 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.01269, allocations: 0 / 0.7993 GB, free: 68 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.01276, allocations: 11.92 kB / 0.7993 GB, free: 56 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.01276, allocations: 4 kB / 0.7993 GB, free: 52 kB / 0.7448 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.0001068/0.01287, allocations: 171.6 kB / 0.7994 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.01291, allocations: 76.47 kB / 0.7995 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.01309, allocations: 160 kB / 0.7997 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.0131, allocations: 5.125 kB / 0.7997 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.0131, allocations: 3.938 kB / 0.7997 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.0131, allocations: 0 / 0.7997 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.01346, allocations: 0.4975 MB / 0.8002 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01346, allocations: 0 / 0.8002 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.01349, allocations: 8 kB / 0.8002 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01349, allocations: 1.094 kB / 0.8002 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.0135, allocations: 4 kB / 0.8002 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.0135, allocations: 0 / 0.8002 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.0135, allocations: 0.5938 kB / 0.8002 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.01399, allocations: 208.3 kB / 0.8004 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.01405, allocations: 59.53 kB / 0.8004 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.01408, allocations: 9.359 kB / 0.8004 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.993e-05/0.01414, allocations: 4 kB / 0.8004 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.01419, allocations: 15.97 kB / 0.8005 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.0142, allocations: 4.812 kB / 0.8005 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003885/0.01459, allocations: 0.5185 MB / 0.801 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01459, allocations: 1.344 kB / 0.801 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00018/0.01477, allocations: 59.94 kB / 0.801 GB, free: 14.2 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.0008504/0.01562, allocations: 400.2 kB / 0.8014 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01575, allocations: 59.59 kB / 0.8015 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01575, allocations: 4 kB / 0.8015 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.01579, allocations: 31.67 kB / 0.8015 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.0162, allocations: 189.8 kB / 0.8017 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.0173, allocations: 0.9256 MB / 0.8026 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.01741, allocations: 192.5 kB / 0.8028 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.784e-05/0.01749, allocations: 38.95 kB / 0.8028 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.01753, allocations: 24.5 kB / 0.8028 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of SimCode: time 9.32e-07/0.01754, allocations: 4 kB / 0.8028 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of Templates: time 0.008419/0.02595, allocations: 6.432 MB / 0.8091 GB, free: 6.164 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.038855048827827]