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.00137/0.00137, allocations: 95.77 kB / 18.94 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.001552/0.001552, allocations: 220.3 kB / 22.24 MB, free: 5.113 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.793 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.204/3.204, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.002009/0.002009, allocations: 65.34 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3555, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.00341/0.3589, allocations: 2.027 MB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003408/0.3623, allocations: 2.363 MB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.3624, allocations: 4 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.3636, allocations: 457.9 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.3637, allocations: 63.59 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000817/0.3645, allocations: 283.3 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004137/0.3649, allocations: 322 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.3651, allocations: 49.19 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.3652, allocations: 111.5 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.3654, allocations: 143.2 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.3655, allocations: 12 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005575/0.366, allocations: 351.5 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3661, allocations: 111.5 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.3663, allocations: 146.9 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000941/0.3673, allocations: 0.8327 MB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3673, allocations: 0 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3673, allocations: 0 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.3673, allocations: 0 / 1.333 GB, free: 10.22 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.001189/0.3685, allocations: 0.8236 MB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3685, allocations: 8.031 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.3685, allocations: 42.75 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.755e-05/0.3686, allocations: 68.52 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.3691, allocations: 331.1 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.3692, allocations: 8.375 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.3692, allocations: 8.375 kB / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.3695, allocations: 168.9 kB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3695, allocations: 0 / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3695, allocations: 4 kB / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3695, allocations: 4 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.3697, allocations: 129.6 kB / 1.334 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008046/0.3705, allocations: 0.5073 MB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.3707, allocations: 120.2 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3708, allocations: 82.86 kB / 1.335 GB, free: 7.777 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.3708, allocations: 7.938 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.371, allocations: 162.8 kB / 1.335 GB, free: 7.586 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.371, allocations: 96 / 1.335 GB, free: 7.586 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005439/0.3716, allocations: 386.1 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.3717, allocations: 81.11 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/0.3726, allocations: 0.7896 MB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3726, allocations: 37.64 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.3729, allocations: 292.2 kB / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.3729, allocations: 23.8 kB / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.373, allocations: 29.7 kB / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3731, allocations: 310 kB / 1.337 GB, free: 5.586 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.962e-05/0.3732, allocations: 77.67 kB / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.695e-05/0.3733, allocations: 82 kB / 1.337 GB, free: 5.418 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.3735, allocations: 172.1 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3735, allocations: 0 / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003896/0.3739, allocations: 312.5 kB / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.374, allocations: 37.69 kB / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.374, allocations: 4 kB / 1.338 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.374, allocations: 0 / 1.338 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.3741, allocations: 8 kB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3741, allocations: 0 / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.3742, allocations: 19.92 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.3742, allocations: 4 kB / 1.338 GB, free: 4.832 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.0003443/0.3746, allocations: 335.8 kB / 1.338 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.3746, allocations: 75.47 kB / 1.338 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005139/0.3752, allocations: 330.7 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3752, allocations: 0 / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3752, allocations: 8 kB / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3752, allocations: 0 / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.3755, allocations: 332.6 kB / 1.339 GB, free: 3.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3755, allocations: 4 kB / 1.339 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.3756, allocations: 8 kB / 1.339 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3756, allocations: 0 / 1.339 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3756, allocations: 4 kB / 1.339 GB, free: 3.676 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3756, allocations: 4 kB / 1.339 GB, free: 3.672 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3756, allocations: 0 / 1.339 GB, free: 3.672 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.376, allocations: 347.9 kB / 1.339 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3762, allocations: 79.39 kB / 1.339 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.3762, allocations: 8 kB / 1.339 GB, free: 3.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.3763, allocations: 15.98 kB / 1.339 GB, free: 3.199 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.3764, allocations: 7.984 kB / 1.339 GB, free: 3.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.3764, allocations: 7.984 kB / 1.339 GB, free: 3.184 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006797/0.3771, allocations: 0.5848 MB / 1.34 GB, free: 2.605 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3771, allocations: 7.938 kB / 1.34 GB, free: 2.598 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004223/0.3775, allocations: 119.9 kB / 1.34 GB, free: 2.48 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.001009/0.3785, allocations: 0.9704 MB / 1.341 GB, free: 1.469 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.3788, allocations: 250.6 kB / 1.341 GB, free: 1.199 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3788, allocations: 0 / 1.341 GB, free: 1.199 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.379, allocations: 157 kB / 1.341 GB, free: 1.027 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.3796, allocations: 124 kB / 1.342 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005972/0.3855, allocations: 4.842 MB / 1.346 GB, free: 11.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.386, allocations: 374.9 kB / 1.347 GB, free: 11.54 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.3861, allocations: 25.95 kB / 1.347 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.3863, allocations: 167.4 kB / 1.347 GB, free: 11.36 MB / 1.045 GB Notification: Performance of SimCode: time 2.655e-06/0.3863, allocations: 0 / 1.347 GB, free: 11.36 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04776/0.4341, allocations: 13.15 MB / 1.36 GB, free: 14.47 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.9, allocations: 14.98 kB / 1.36 GB, free: 14.46 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.883516553993104]