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.001837/0.001837, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002393/0.002393, allocations: 217 kB / 22.25 MB, free: 5.082 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.387/3.387, allocations: 0.49 GB / 0.7951 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) [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.002153/0.002153, allocations: 70.42 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3483, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004288/0.3526, allocations: 2.203 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004361/0.3569, allocations: 2.834 MB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.3571, allocations: 4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.3588, allocations: 0.5405 MB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.3594, allocations: 167.2 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007344/0.3601, allocations: 207.2 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006954/0.3608, allocations: 390.1 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.361, allocations: 33.25 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.3613, allocations: 135.3 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.3616, allocations: 159.1 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.3617, allocations: 8 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.362, allocations: 71.89 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.3622, allocations: 139.4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.3625, allocations: 230.3 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.3635, allocations: 0.7351 MB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3635, allocations: 3.938 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3635, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.252e-05/0.3635, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 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.001614/0.3651, allocations: 0.8663 MB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3652, allocations: 8.031 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.3652, allocations: 38.75 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.3654, allocations: 72.47 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.3661, allocations: 402.8 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.3661, allocations: 8.375 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3661, allocations: 7.938 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.3663, allocations: 104.2 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3664, allocations: 0 / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3664, allocations: 3.938 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3664, allocations: 4 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.3665, allocations: 39.97 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009232/0.3674, allocations: 0.4918 MB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.3678, allocations: 106.7 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.689e-05/0.3679, allocations: 28.84 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.368, allocations: 7.984 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.3682, allocations: 87.34 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/0.3682, allocations: 0 / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005221/0.3687, allocations: 201.1 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.3688, allocations: 106.8 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.3701, allocations: 0.9305 MB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.3701, allocations: 25.7 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.3705, allocations: 331.9 kB / 1.337 GB, free: 5.973 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.3705, allocations: 15.91 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.3706, allocations: 29.7 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3707, allocations: 306 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.3708, allocations: 31.98 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.371, allocations: 76.2 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3711, allocations: 73.62 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3711, allocations: 0 / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003337/0.3715, allocations: 173.1 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3715, allocations: 12.03 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.3715, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3715, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.3716, allocations: 15.98 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.3716, allocations: 0 / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.3718, allocations: 19.83 kB / 1.338 GB, free: 5.195 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.3718, allocations: 4 kB / 1.338 GB, free: 5.191 MB / 1.029 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.000411/0.3722, allocations: 320 kB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3723, allocations: 71.53 kB / 1.338 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004205/0.3727, allocations: 192 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.3727, allocations: 0 / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3727, allocations: 0 / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3727, allocations: 3.938 kB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.3732, allocations: 372.4 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3732, allocations: 4 kB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.3733, allocations: 11.98 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3733, allocations: 0 / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3733, allocations: 0 / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3733, allocations: 0 / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3733, allocations: 4 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.3737, allocations: 205 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.3738, allocations: 63.53 kB / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.3739, allocations: 7.984 kB / 1.339 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.374, allocations: 4 kB / 1.339 GB, free: 3.879 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.374, allocations: 15.92 kB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3741, allocations: 0 / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001007/0.3751, allocations: 0.6903 MB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3751, allocations: 0 / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003463/0.3754, allocations: 63.92 kB / 1.34 GB, free: 3.113 MB / 1.029 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.002305/0.3777, allocations: 1.067 MB / 1.341 GB, free: 2.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.378, allocations: 71.95 kB / 1.341 GB, free: 2.109 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.378, allocations: 0 / 1.341 GB, free: 2.109 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3781, allocations: 35.92 kB / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/0.3789, allocations: 170.6 kB / 1.341 GB, free: 1.914 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007573/0.3865, allocations: 4.853 MB / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008147/0.3873, allocations: 0.9902 MB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002386/0.3876, allocations: 55.19 kB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.3879, allocations: 195.4 kB / 1.347 GB, free: 11.69 MB / 1.045 GB Notification: Performance of SimCode: time 9.32e-07/0.3879, allocations: 0 / 1.347 GB, free: 11.69 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06317/0.451, allocations: 13.55 MB / 1.36 GB, free: 14.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.3, allocations: 1.891 kB / 1.36 GB, free: 14.35 MB / 1.061 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 20.43168023088947]