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.001408/0.001408, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001624/0.001624, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.327/3.327, allocations: 0.49 GB / 0.7916 GB, free: 33.48 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.00213/0.00213, allocations: 74.09 kB / 1.149 GB, free: 26.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3503, allocations: 176.1 MB / 1.321 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003877/0.3541, allocations: 2.076 MB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004077/0.3582, allocations: 2.643 MB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.3584, allocations: 3.938 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.3599, allocations: 0.5133 MB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.3602, allocations: 63.59 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.3612, allocations: 271.3 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005413/0.3617, allocations: 326.8 kB / 1.327 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.3619, allocations: 65.02 kB / 1.327 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.3621, allocations: 115.4 kB / 1.327 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.3624, allocations: 135.2 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.3624, allocations: 8 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006358/0.363, allocations: 339.5 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.3632, allocations: 115.5 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.3634, allocations: 214.5 kB / 1.328 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.3646, allocations: 0.8249 MB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3646, allocations: 0 / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3646, allocations: 0 / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.3646, allocations: 0 / 1.328 GB, free: 11.72 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.00138/0.366, allocations: 0.8989 MB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.3661, allocations: 11.98 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.3661, allocations: 38.75 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.3662, allocations: 68.52 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.3668, allocations: 396.9 kB / 1.33 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.3668, allocations: 8.375 kB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3669, allocations: 4.375 kB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.3672, allocations: 137.7 kB / 1.33 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3672, allocations: 4 kB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3672, allocations: 0 / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-06/0.3672, allocations: 4 kB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.3674, allocations: 99.83 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.3684, allocations: 0.5433 MB / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3686, allocations: 98.47 kB / 1.331 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.3687, allocations: 53.16 kB / 1.331 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.3688, allocations: 11.94 kB / 1.331 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.369, allocations: 129.1 kB / 1.331 GB, free: 9.043 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.369, allocations: 4 kB / 1.331 GB, free: 9.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005694/0.3695, allocations: 311.2 kB / 1.331 GB, free: 8.723 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.3696, allocations: 85.11 kB / 1.331 GB, free: 8.621 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.3707, allocations: 0.7896 MB / 1.332 GB, free: 7.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3707, allocations: 25.7 kB / 1.332 GB, free: 7.789 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.371, allocations: 292.2 kB / 1.332 GB, free: 7.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.3711, allocations: 27.78 kB / 1.332 GB, free: 7.473 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.3711, allocations: 33.7 kB / 1.332 GB, free: 7.434 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3713, allocations: 314 kB / 1.333 GB, free: 7.121 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.3714, allocations: 43.98 kB / 1.333 GB, free: 7.078 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-05/0.3714, allocations: 51.91 kB / 1.333 GB, free: 7.027 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.3716, allocations: 156.2 kB / 1.333 GB, free: 6.859 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3716, allocations: 3.938 kB / 1.333 GB, free: 6.855 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004675/0.3721, allocations: 278.8 kB / 1.333 GB, free: 6.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/0.3722, allocations: 33.69 kB / 1.333 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3722, allocations: 4 kB / 1.333 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.3722, allocations: 0 / 1.333 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3723, allocations: 12 kB / 1.333 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3723, allocations: 0 / 1.333 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.3726, allocations: 11.92 kB / 1.333 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.3726, allocations: 8 kB / 1.333 GB, free: 6.496 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.000638/0.3733, allocations: 337.1 kB / 1.333 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.3734, allocations: 75.47 kB / 1.334 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007004/0.3741, allocations: 300.9 kB / 1.334 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3741, allocations: 0 / 1.334 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3742, allocations: 0 / 1.334 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3742, allocations: 7.984 kB / 1.334 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007002/0.3749, allocations: 385.4 kB / 1.334 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3749, allocations: 0 / 1.334 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.3749, allocations: 8 kB / 1.334 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3749, allocations: 3.938 kB / 1.334 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.375, allocations: 4 kB / 1.334 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.375, allocations: 0 / 1.334 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.375, allocations: 0 / 1.334 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.3756, allocations: 322.3 kB / 1.335 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.3759, allocations: 152.6 kB / 1.335 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/0.376, allocations: 12 kB / 1.335 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.3761, allocations: 4 kB / 1.335 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.3762, allocations: 3.984 kB / 1.335 GB, free: 4.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3762, allocations: 8 kB / 1.335 GB, free: 4.777 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001003/0.3772, allocations: 0.5848 MB / 1.335 GB, free: 4.199 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3772, allocations: 0 / 1.335 GB, free: 4.199 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005562/0.3777, allocations: 127.8 kB / 1.335 GB, free: 4.074 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.001242/0.379, allocations: 0.9443 MB / 1.336 GB, free: 3.098 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.3793, allocations: 179.3 kB / 1.336 GB, free: 2.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3793, allocations: 0 / 1.336 GB, free: 2.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.3795, allocations: 123.3 kB / 1.337 GB, free: 2.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/0.3801, allocations: 120.7 kB / 1.337 GB, free: 2.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006933/0.387, allocations: 4.673 MB / 1.341 GB, free: 13.88 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007225/0.3878, allocations: 0.9743 MB / 1.342 GB, free: 12.88 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.3879, allocations: 33.88 kB / 1.342 GB, free: 12.85 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.3881, allocations: 163.4 kB / 1.342 GB, free: 12.69 MB / 1.045 GB Notification: Performance of SimCode: time 1.513e-06/0.3881, allocations: 0 / 1.342 GB, free: 12.69 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04188/0.43, allocations: 12.11 MB / 1.354 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.471/9.901, allocations: 1.719 kB / 1.354 GB, free: 0.8125 MB / 1.045 GB " [Timeout remaining time 290] (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: 16.58455894002691]