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.001544/0.001544, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001921/0.001921, allocations: 218 kB / 22.25 MB, free: 5.105 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.801 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.175/3.175, allocations: 0.49 GB / 0.7951 GB, free: 35.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.002065/0.002065, allocations: 67.36 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.374, allocations: 176.1 MB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004016/0.378, allocations: 2.123 MB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003728/0.3817, allocations: 2.534 MB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.3819, allocations: 4 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.3833, allocations: 0.4938 MB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.3836, allocations: 163.2 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006166/0.3843, allocations: 218.1 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.3848, allocations: 387.6 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3849, allocations: 25.28 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.3851, allocations: 135.4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.3853, allocations: 163.1 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.3853, allocations: 8 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.3855, allocations: 71.94 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.3857, allocations: 139.4 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.3859, allocations: 154.7 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008202/0.3867, allocations: 0.7313 MB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3867, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3867, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.3867, allocations: 0 / 1.333 GB, free: 10.08 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.001362/0.3881, allocations: 0.872 MB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.3881, allocations: 8.031 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.3882, allocations: 38.73 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.3883, allocations: 76.42 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.3889, allocations: 399 kB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.868e-05/0.3889, allocations: 4.375 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.3889, allocations: 7.938 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.3892, allocations: 142.7 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3892, allocations: 0 / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.3892, allocations: 7.984 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3892, allocations: 4 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.3893, allocations: 39.97 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008024/0.3901, allocations: 499.6 kB / 1.335 GB, free: 7.863 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/0.3906, allocations: 106.6 kB / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.188e-05/0.3906, allocations: 28.84 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.3907, allocations: 4.094 kB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.3909, allocations: 113 kB / 1.335 GB, free: 7.586 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3909, allocations: 0 / 1.335 GB, free: 7.586 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000464/0.3913, allocations: 197.2 kB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.3914, allocations: 89.05 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.3926, allocations: 0.9305 MB / 1.336 GB, free: 6.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3926, allocations: 29.7 kB / 1.336 GB, free: 6.305 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.3929, allocations: 331.9 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.3929, allocations: 31.7 kB / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.393, allocations: 25.7 kB / 1.337 GB, free: 5.914 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3931, allocations: 306 kB / 1.337 GB, free: 5.609 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.322e-05/0.3932, allocations: 31.98 kB / 1.337 GB, free: 5.578 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.3933, allocations: 118.8 kB / 1.337 GB, free: 5.438 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3935, allocations: 73.69 kB / 1.337 GB, free: 5.359 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.3935, allocations: 0 / 1.337 GB, free: 5.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002914/0.3938, allocations: 173.2 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3938, allocations: 8 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3938, allocations: 0 / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3938, allocations: 0 / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.3939, allocations: 19.92 kB / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3939, allocations: 0 / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.3941, allocations: 23.88 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3941, allocations: 4 kB / 1.338 GB, free: 5.129 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.0003335/0.3944, allocations: 314.2 kB / 1.338 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.3945, allocations: 71.53 kB / 1.338 GB, free: 4.742 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.3949, allocations: 200.5 kB / 1.338 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3949, allocations: 0 / 1.338 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3949, allocations: 0 / 1.338 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3949, allocations: 3.938 kB / 1.338 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.3953, allocations: 360.4 kB / 1.338 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3953, allocations: 0 / 1.338 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.3954, allocations: 12 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3954, allocations: 0 / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3954, allocations: 7.984 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3954, allocations: 0 / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3954, allocations: 4 kB / 1.339 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.3957, allocations: 204.6 kB / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.3958, allocations: 63.53 kB / 1.339 GB, free: 3.832 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.3959, allocations: 7.984 kB / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.396, allocations: 0 / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.3961, allocations: 16.11 kB / 1.339 GB, free: 3.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3961, allocations: 4 kB / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008194/0.3969, allocations: 0.694 MB / 1.339 GB, free: 3.113 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3969, allocations: 0 / 1.339 GB, free: 3.113 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003022/0.3972, allocations: 71.81 kB / 1.34 GB, free: 3.043 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 (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.002232/0.3994, allocations: 1.089 MB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002472/0.3997, allocations: 75.91 kB / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3997, allocations: 0 / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3998, allocations: 39.91 kB / 1.341 GB, free: 2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.4005, allocations: 169.3 kB / 1.341 GB, free: 1.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006119/0.4066, allocations: 4.874 MB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.4071, allocations: 395.7 kB / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002047/0.4073, allocations: 46.95 kB / 1.346 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.4076, allocations: 211.3 kB / 1.346 GB, free: 12.19 MB / 1.045 GB Notification: Performance of SimCode: time 1.252e-06/0.4076, allocations: 0 / 1.346 GB, free: 12.19 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04532/0.4529, allocations: 14.6 MB / 1.361 GB, free: 13.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.38, allocations: 8.156 kB / 1.361 GB, free: 13.8 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: 19.321182296000188]