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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.869/2.869, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001969/0.001969, allocations: 72.08 kB / 1.107 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281/1.283, allocations: 168.7 MB / 1.272 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003842/1.287, allocations: 2.195 MB / 1.274 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00333/1.29, allocations: 2.678 MB / 1.277 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/1.29, allocations: 1.969 kB / 1.277 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/1.292, allocations: 0.5387 MB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003455/1.292, allocations: 121.2 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/1.293, allocations: 234.3 kB / 1.278 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007197/1.294, allocations: 383.4 kB / 1.278 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/1.294, allocations: 32.75 kB / 1.278 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/1.295, allocations: 128.9 kB / 1.278 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/1.295, allocations: 147.6 kB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/1.295, allocations: 8.094 kB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/1.295, allocations: 73.03 kB / 1.278 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/1.295, allocations: 131.8 kB / 1.278 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/1.296, allocations: 236.4 kB / 1.279 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/1.297, allocations: 0.714 MB / 1.279 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.297, allocations: 0 / 1.279 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.625e-06/1.297, allocations: 4 kB / 1.279 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.288e-05/1.297, allocations: 0.9375 kB / 1.279 GB, free: 3.285 MB / 0.9981 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.001494/1.298, allocations: 0.9287 MB / 1.28 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.298, allocations: 13.94 kB / 1.28 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/1.298, allocations: 72.56 kB / 1.28 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00062/1.299, allocations: 454.1 kB / 1.281 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/1.299, allocations: 9.969 kB / 1.281 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/1.299, allocations: 7.188 kB / 1.281 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/1.299, allocations: 104.3 kB / 1.281 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.299, allocations: 0.5 kB / 1.281 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/1.299, allocations: 1.094 kB / 1.281 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.299, allocations: 1.438 kB / 1.281 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/1.3, allocations: 45.52 kB / 1.281 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/1.3, allocations: 0.5291 MB / 1.282 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/1.301, allocations: 104.6 kB / 1.282 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.82e-05/1.301, allocations: 30.52 kB / 1.282 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/1.301, allocations: 6.5 kB / 1.282 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/1.301, allocations: 82.2 kB / 1.282 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/1.301, allocations: 4 kB / 1.282 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004627/1.302, allocations: 204.7 kB / 1.282 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/1.302, allocations: 104 kB / 1.282 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.303, allocations: 0.9167 MB / 1.283 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/1.303, allocations: 31.58 kB / 1.283 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/1.303, allocations: 311.4 kB / 1.283 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/1.303, allocations: 22.09 kB / 1.283 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/1.303, allocations: 24.11 kB / 1.283 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/1.303, allocations: 320.9 kB / 1.284 GB, free: 332 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/1.303, allocations: 26.98 kB / 1.284 GB, free: 324 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/1.304, allocations: 71.73 kB / 1.284 GB, free: 272 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/1.304, allocations: 71.05 kB / 1.284 GB, free: 232 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.304, allocations: 6.531 kB / 1.284 GB, free: 228 kB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002593/1.304, allocations: 168.8 kB / 1.284 GB, free: 132 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.304, allocations: 6.688 kB / 1.284 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.304, allocations: 0 / 1.284 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.304, allocations: 0.75 kB / 1.284 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/1.304, allocations: 19.31 kB / 1.284 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.304, allocations: 0 / 1.284 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/1.304, allocations: 18.05 kB / 1.284 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/1.304, allocations: 3.344 kB / 1.284 GB, free: 116 kB / 0.9981 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.0003406/1.305, allocations: 319.7 kB / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/1.305, allocations: 74.31 kB / 1.284 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/1.305, allocations: 189.8 kB / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.305, allocations: 0 / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.305, allocations: 3.672 kB / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.305, allocations: 3.938 kB / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/1.306, allocations: 388.1 kB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.306, allocations: 2.156 kB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/1.306, allocations: 6.469 kB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.306, allocations: 6.188 kB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/1.306, allocations: 1.172 kB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/1.306, allocations: 4 kB / 1.285 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.306, allocations: 2.156 kB / 1.285 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/1.306, allocations: 212.3 kB / 1.285 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/1.306, allocations: 141.1 kB / 1.285 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/1.306, allocations: 2.906 kB / 1.285 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/1.306, allocations: 10.19 kB / 1.285 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/1.306, allocations: 9.781 kB / 1.285 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/1.306, allocations: 8.125 kB / 1.285 GB, free: 15.23 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00094/1.307, allocations: 0.6786 MB / 1.286 GB, free: 14.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.307, allocations: 0 / 1.286 GB, free: 14.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003255/1.308, allocations: 59.44 kB / 1.286 GB, free: 14.97 MB / 1.014 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 (7): * Single equations (assignments): 5 * 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.001631/1.309, allocations: 426.8 kB / 1.286 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002798/1.31, allocations: 74.98 kB / 1.286 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.31, allocations: 0 / 1.286 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/1.31, allocations: 36.84 kB / 1.287 GB, free: 14.74 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/1.311, allocations: 170.4 kB / 1.287 GB, free: 14.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/1.313, allocations: 1.163 MB / 1.288 GB, free: 14.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008235/1.313, allocations: 0.9948 MB / 1.289 GB, free: 13.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002116/1.314, allocations: 46.25 kB / 1.289 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/1.314, allocations: 24.98 kB / 1.289 GB, free: 13.36 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.314, allocations: 5.344 kB / 1.289 GB, free: 13.35 MB / 1.014 GB Notification: Performance of Templates: time 0.0159/1.33, allocations: 6.134 MB / 1.295 GB, free: 12.87 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.924219276756048]