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.001868/0.001868, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002409/0.002409, allocations: 210.6 kB / 23.01 MB, free: 4.57 MB / 14.72 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.815/2.815, allocations: 476.8 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 64.88 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3692, allocations: 169.9 MB / 1.285 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.00435/0.3736, allocations: 2.227 MB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004402/0.378, allocations: 2.838 MB / 1.29 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.3782, allocations: 7.938 kB / 1.29 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.3798, allocations: 0.5367 MB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.3802, allocations: 163.2 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006784/0.3809, allocations: 206.5 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005445/0.3814, allocations: 391.4 kB / 1.291 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.3816, allocations: 37.25 kB / 1.291 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.3817, allocations: 131.3 kB / 1.291 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.382, allocations: 155.2 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.382, allocations: 12 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.3822, allocations: 79.94 kB / 1.291 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.3824, allocations: 135.4 kB / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.3827, allocations: 230.3 kB / 1.292 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009257/0.3836, allocations: 0.7273 MB / 1.292 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3836, allocations: 0 / 1.292 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.57e-06/0.3836, allocations: 4 kB / 1.292 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3836, allocations: 0 / 1.292 GB, free: 3.426 MB / 0.9825 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.001422/0.385, allocations: 0.8585 MB / 1.293 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3851, allocations: 12.03 kB / 1.293 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.3852, allocations: 76.42 kB / 1.293 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000609/0.3858, allocations: 406.8 kB / 1.294 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3858, allocations: 384 / 1.294 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3858, allocations: 12.12 kB / 1.294 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.3861, allocations: 96.16 kB / 1.294 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3861, allocations: 4 kB / 1.294 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3861, allocations: 8 kB / 1.294 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3861, allocations: 0 / 1.294 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3862, allocations: 39.98 kB / 1.294 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008274/0.387, allocations: 0.4919 MB / 1.294 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.3874, allocations: 102.6 kB / 1.294 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.3875, allocations: 40.78 kB / 1.294 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.3876, allocations: 0 / 1.294 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.3877, allocations: 87.36 kB / 1.294 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.3877, allocations: 0 / 1.294 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004997/0.3882, allocations: 197.1 kB / 1.295 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/0.3883, allocations: 106.8 kB / 1.295 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.3896, allocations: 0.9267 MB / 1.296 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.3897, allocations: 33.7 kB / 1.296 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.39, allocations: 324 kB / 1.296 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.39, allocations: 19.89 kB / 1.296 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.3901, allocations: 21.72 kB / 1.296 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3902, allocations: 321.9 kB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.3903, allocations: 23.98 kB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3904, allocations: 84.2 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.3906, allocations: 66.02 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3906, allocations: 0 / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002878/0.3909, allocations: 177.1 kB / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3909, allocations: 4 kB / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3909, allocations: 0 / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3909, allocations: 4 kB / 1.297 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.391, allocations: 16.02 kB / 1.297 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.391, allocations: 4 kB / 1.297 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.3911, allocations: 19.81 kB / 1.297 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3912, allocations: 0 / 1.297 GB, free: 14.65 MB / 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.0003638/0.3915, allocations: 321.7 kB / 1.297 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.3916, allocations: 75.52 kB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.392, allocations: 180.1 kB / 1.297 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.392, allocations: 8 kB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.392, allocations: 7.984 kB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.392, allocations: 3.938 kB / 1.297 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.3925, allocations: 368.4 kB / 1.298 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3925, allocations: 0 / 1.298 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.3925, allocations: 8 kB / 1.298 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3925, allocations: 0 / 1.298 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3925, allocations: 7.984 kB / 1.298 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3925, allocations: 4 kB / 1.298 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3925, allocations: 192 / 1.298 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.3928, allocations: 204.5 kB / 1.298 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.393, allocations: 67.47 kB / 1.298 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.393, allocations: 0 / 1.298 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.3931, allocations: 7.984 kB / 1.298 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.3932, allocations: 11.98 kB / 1.298 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.3932, allocations: 7.938 kB / 1.298 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008927/0.3941, allocations: 0.6824 MB / 1.299 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3941, allocations: 0 / 1.299 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000308/0.3944, allocations: 67.94 kB / 1.299 GB, free: 12.56 MB / 0.9981 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.001623/0.396, allocations: 429.2 kB / 1.299 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.3963, allocations: 71.89 kB / 1.299 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3963, allocations: 0 / 1.299 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/0.3964, allocations: 31.98 kB / 1.299 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.3971, allocations: 159.6 kB / 1.299 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.3991, allocations: 1.223 MB / 1.301 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/0.3999, allocations: 0.9941 MB / 1.301 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.3999, allocations: 23.44 kB / 1.302 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3999, allocations: 0 / 1.302 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of Templates: time 0.01237/0.4123, allocations: 7.253 MB / 1.309 GB, free: 2.555 MB / 0.9981 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/jenkins1/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: 13.339761288021691]