Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.001296/0.001296, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001542/0.001542, allocations: 219.4 kB / 22.26 MB, free: 5.117 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.988 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.396/3.396, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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.SpeedShift,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",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.002189/0.002189, allocations: 64.95 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.344, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004542/0.3485, allocations: 2.095 MB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004962/0.3535, allocations: 2.651 MB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.3537, allocations: 3.938 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.3552, allocations: 0.5095 MB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.3554, allocations: 63.59 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.3566, allocations: 289.2 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007719/0.3574, allocations: 318.3 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.3576, allocations: 49.2 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.3578, allocations: 115.4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.3582, allocations: 135.2 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.3582, allocations: 8 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008292/0.359, allocations: 371.4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.3592, allocations: 111.5 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.3595, allocations: 210.5 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.361, allocations: 0.8288 MB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.361, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.361, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.3611, allocations: 0 / 1.333 GB, free: 10.15 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001535/0.3626, allocations: 0.8236 MB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3626, allocations: 8.031 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.508e-05/0.3627, allocations: 46.73 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.3628, allocations: 68.52 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007245/0.3636, allocations: 335.1 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3636, allocations: 4.375 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.3636, allocations: 8.375 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.3639, allocations: 135.3 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3639, allocations: 0 / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3639, allocations: 3.984 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.364, allocations: 4 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.3642, allocations: 99.94 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.3652, allocations: 0.515 MB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.3654, allocations: 94.47 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.3655, allocations: 53.16 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.3656, allocations: 11.94 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.3659, allocations: 133.1 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 2.424e-06/0.3659, allocations: 0 / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0006374/0.3665, allocations: 314.9 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.3666, allocations: 85.09 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.3679, allocations: 0.7935 MB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.3679, allocations: 25.7 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/0.3683, allocations: 292.2 kB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.3683, allocations: 23.8 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.3684, allocations: 33.7 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3685, allocations: 310 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.853e-05/0.3686, allocations: 47.97 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.899e-05/0.3687, allocations: 39.98 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.3689, allocations: 168.5 kB / 1.338 GB, free: 5.492 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3689, allocations: 0 / 1.338 GB, free: 5.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004121/0.3693, allocations: 274.7 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/0.3694, allocations: 43.56 kB / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3694, allocations: 160 / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3694, allocations: 8 kB / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.3695, allocations: 4 kB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3695, allocations: 7.984 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.3697, allocations: 7.938 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.3697, allocations: 7.984 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: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0004429/0.3702, allocations: 333.5 kB / 1.338 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3703, allocations: 83.52 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/0.3708, allocations: 300.9 kB / 1.339 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.3708, allocations: 8 kB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3708, allocations: 0 / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3708, allocations: 0 / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.3714, allocations: 352.5 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3714, allocations: 0 / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.3714, allocations: 11.98 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3714, allocations: 0 / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3715, allocations: 8 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3715, allocations: 0 / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3715, allocations: 0 / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.3719, allocations: 318.2 kB / 1.339 GB, free: 3.645 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.3721, allocations: 83.39 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.3722, allocations: 4 kB / 1.34 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3723, allocations: 11.98 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.3724, allocations: 0 / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.3724, allocations: 8 kB / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000873/0.3733, allocations: 0.5809 MB / 1.34 GB, free: 2.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3733, allocations: 0 / 1.34 GB, free: 2.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004696/0.3737, allocations: 127.9 kB / 1.34 GB, free: 2.84 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001315/0.375, allocations: 0.9453 MB / 1.341 GB, free: 1.859 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.3754, allocations: 175.3 kB / 1.341 GB, free: 1.676 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3754, allocations: 0 / 1.341 GB, free: 1.676 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.3756, allocations: 123.3 kB / 1.341 GB, free: 1.543 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/0.3762, allocations: 125.1 kB / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007421/0.3836, allocations: 4.679 MB / 1.346 GB, free: 12.64 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008279/0.3845, allocations: 0.9743 MB / 1.347 GB, free: 11.64 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.3846, allocations: 21.95 kB / 1.347 GB, free: 11.62 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.3849, allocations: 171.4 kB / 1.347 GB, free: 11.45 MB / 1.045 GB Notification: Performance of SimCode: time 1.022e-06/0.3849, allocations: 0 / 1.347 GB, free: 11.45 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05418/0.439, allocations: 12.25 MB / 1.359 GB, free: 15.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.98, allocations: 8.219 kB / 1.359 GB, free: 15.45 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.977478968910873]