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.001969/0.001969, allocations: 83.69 kB / 20.23 MB, free: 4.18 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.002053/0.002053, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.607/1.607, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.086/3.086, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 4.839e-06/4.839e-06, allocations: 3.984 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.414e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004428/0.004462, allocations: 2.2 MB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004675/0.009137, allocations: 2.725 MB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.009288, allocations: 11.88 kB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.01081, allocations: 497.6 kB / 0.8161 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.01123, allocations: 172.4 kB / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.01179, allocations: 201.8 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005901/0.01238, allocations: 406.8 kB / 0.8169 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.01251, allocations: 26.22 kB / 0.8169 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.01283, allocations: 183.5 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.01309, allocations: 120.9 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.01314, allocations: 11.94 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.01337, allocations: 71.88 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.01357, allocations: 144.2 kB / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.01374, allocations: 99.61 kB / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.01486, allocations: 0.7106 MB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01487, allocations: 0 / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.112e-06/0.01487, allocations: 0 / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.01488, allocations: 0 / 0.8182 GB, free: 10.54 MB / 0.7761 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.001792/0.01667, allocations: 1.052 MB / 0.8192 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.01671, allocations: 10.94 kB / 0.8192 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.01686, allocations: 76.47 kB / 0.8193 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.01755, allocations: 389 kB / 0.8197 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.01757, allocations: 4.375 kB / 0.8197 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.01759, allocations: 8.359 kB / 0.8197 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.01789, allocations: 153 kB / 0.8198 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.01791, allocations: 7.875 kB / 0.8198 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.01792, allocations: 1.469 kB / 0.8199 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.01793, allocations: 4 kB / 0.8199 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.01806, allocations: 31.98 kB / 0.8199 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.0193, allocations: 0.6871 MB / 0.8206 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.01972, allocations: 99.75 kB / 0.8207 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.01981, allocations: 36.23 kB / 0.8207 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.01983, allocations: 0.5625 kB / 0.8207 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.02007, allocations: 116 kB / 0.8208 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.02007, allocations: 0 / 0.8208 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000487/0.02056, allocations: 189.1 kB / 0.821 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.02063, allocations: 85.09 kB / 0.8211 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.02219, allocations: 1.055 MB / 0.8221 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.02222, allocations: 25.7 kB / 0.8221 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/0.02279, allocations: 474.7 kB / 0.8226 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.02283, allocations: 24.5 kB / 0.8226 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.0229, allocations: 36.08 kB / 0.8226 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002715/0.02317, allocations: 492.4 kB / 0.8231 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.02325, allocations: 23.83 kB / 0.8231 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.02339, allocations: 114.1 kB / 0.8232 GB, free: 5.137 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.02356, allocations: 87.47 kB / 0.8233 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02356, allocations: 0 / 0.8233 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003124/0.02387, allocations: 165.1 kB / 0.8235 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.02389, allocations: 6.812 kB / 0.8235 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.0239, allocations: 0 / 0.8235 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.02392, allocations: 0 / 0.8235 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.024, allocations: 15.98 kB / 0.8235 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.02401, allocations: 5.344 kB / 0.8235 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.02412, allocations: 0 / 0.8235 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.02413, allocations: 7.984 kB / 0.8235 GB, free: 4.844 MB / 0.7761 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.0002593/0.02439, allocations: 235.2 kB / 0.8237 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.02449, allocations: 75.53 kB / 0.8238 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.02487, allocations: 164 kB / 0.824 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.02488, allocations: 5.094 kB / 0.824 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.02488, allocations: 0 / 0.824 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.02489, allocations: 0 / 0.824 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007795/0.02567, allocations: 0.5325 MB / 0.8245 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.02567, allocations: 0 / 0.8245 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.02572, allocations: 8 kB / 0.8245 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.02573, allocations: 1.062 kB / 0.8245 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.02574, allocations: 4 kB / 0.8245 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.02574, allocations: 4.656 kB / 0.8245 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02574, allocations: 0 / 0.8245 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005107/0.02625, allocations: 213.1 kB / 0.8247 GB, free: 3.543 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.0264, allocations: 67.52 kB / 0.8248 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.02646, allocations: 0 / 0.8248 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.02659, allocations: 8.594 kB / 0.8248 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/0.02667, allocations: 7.984 kB / 0.8248 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.02669, allocations: 5.062 kB / 0.8248 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0008976/0.02759, allocations: 0.6122 MB / 0.8254 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02759, allocations: 0 / 0.8254 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003169/0.02791, allocations: 64.53 kB / 0.8254 GB, free: 2.789 MB / 0.7761 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.003161/0.03107, allocations: 462.6 kB / 0.8259 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.03134, allocations: 75.58 kB / 0.826 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.03134, allocations: 4 kB / 0.826 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.03147, allocations: 39.67 kB / 0.826 GB, free: 2.391 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.03225, allocations: 173.7 kB / 0.8262 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.03404, allocations: 0.9687 MB / 0.8271 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.0345, allocations: 367.5 kB / 0.8275 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.03465, allocations: 34.97 kB / 0.8275 GB, free: 0.8008 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.03473, allocations: 32.48 kB / 0.8275 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.03473, allocations: 0 / 0.8275 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of Templates: time 0.01486/0.04959, allocations: 6.42 MB / 0.8338 GB, free: 10.53 MB / 0.7917 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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: 8.71930861810688]