Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 110.4 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.546/2.546, allocations: 476.7 MB / 0.7628 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 71.88 kB / 1.107 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7241/0.7259, allocations: 168.7 MB / 1.271 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002799/0.7287, allocations: 2.081 MB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002642/0.7313, allocations: 2.634 MB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.7314, allocations: 1.594 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.7325, allocations: 0.5105 MB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.7326, allocations: 71.47 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007552/0.7333, allocations: 278.1 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.7337, allocations: 319.2 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.7338, allocations: 45.88 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.7339, allocations: 105.3 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.7341, allocations: 137.9 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.7341, allocations: 8.156 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004676/0.7346, allocations: 337.5 kB / 1.278 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.88e-05/0.7347, allocations: 111 kB / 1.278 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.7348, allocations: 206.1 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008184/0.7356, allocations: 0.8267 MB / 1.279 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7356, allocations: 1.031 kB / 1.279 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7356, allocations: 0 / 1.279 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.7357, allocations: 0 / 1.279 GB, free: 3.234 MB / 0.9981 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.0008753/0.7365, allocations: 0.8952 MB / 1.28 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.7366, allocations: 9.719 kB / 1.28 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.7366, allocations: 44.91 kB / 1.28 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.907e-05/0.7367, allocations: 71.33 kB / 1.28 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.737, allocations: 394.3 kB / 1.28 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.7371, allocations: 9.859 kB / 1.28 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.7371, allocations: 9.562 kB / 1.28 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.7373, allocations: 134.4 kB / 1.28 GB, free: 2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.7373, allocations: 0.6094 kB / 1.28 GB, free: 2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.7373, allocations: 2.156 kB / 1.28 GB, free: 2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7373, allocations: 6.062 kB / 1.28 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.7375, allocations: 96.48 kB / 1.28 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006599/0.7381, allocations: 0.5459 MB / 1.281 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.7383, allocations: 92.89 kB / 1.281 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.798e-05/0.7384, allocations: 51.86 kB / 1.281 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.7384, allocations: 19.61 kB / 1.281 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.7386, allocations: 135.9 kB / 1.281 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/0.7386, allocations: 3.984 kB / 1.281 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003983/0.739, allocations: 310.2 kB / 1.282 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.739, allocations: 81.33 kB / 1.282 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000777/0.7398, allocations: 0.7946 MB / 1.282 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.7398, allocations: 33.64 kB / 1.282 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.74, allocations: 288.1 kB / 1.283 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.74, allocations: 32.67 kB / 1.283 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.74, allocations: 30.25 kB / 1.283 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.256e-05/0.7401, allocations: 313.4 kB / 1.283 GB, free: 260 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.7401, allocations: 44.97 kB / 1.283 GB, free: 252 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.7402, allocations: 44.05 kB / 1.283 GB, free: 240 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.7403, allocations: 155.2 kB / 1.283 GB, free: 140 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7403, allocations: 0 / 1.283 GB, free: 140 kB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002709/0.7406, allocations: 268.8 kB / 1.284 GB, free: 16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.7406, allocations: 40.02 kB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7406, allocations: 0.7969 kB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.7406, allocations: 5.031 kB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.7407, allocations: 15.8 kB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.7407, allocations: 0.5625 kB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.7408, allocations: 13.23 kB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.7409, allocations: 2 kB / 1.284 GB, free: 15.95 MB / 1.014 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.0003058/0.7412, allocations: 335.8 kB / 1.284 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/0.7412, allocations: 71.14 kB / 1.284 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.7416, allocations: 301.5 kB / 1.284 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.7416, allocations: 4.609 kB / 1.284 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.7417, allocations: 5.344 kB / 1.284 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.7417, allocations: 0.5156 kB / 1.284 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.7421, allocations: 389.7 kB / 1.285 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7421, allocations: 0 / 1.285 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.7421, allocations: 7.938 kB / 1.285 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7421, allocations: 0 / 1.285 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.7421, allocations: 5.016 kB / 1.285 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7421, allocations: 3.938 kB / 1.285 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7421, allocations: 0.6562 kB / 1.285 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.7425, allocations: 315.6 kB / 1.285 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.7426, allocations: 152.6 kB / 1.285 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.7427, allocations: 3.641 kB / 1.285 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.7428, allocations: 5.078 kB / 1.285 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.7428, allocations: 9.312 kB / 1.285 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.7428, allocations: 4.438 kB / 1.285 GB, free: 14.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006506/0.7435, allocations: 0.5877 MB / 1.286 GB, free: 14.72 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.7435, allocations: 1.188 kB / 1.286 GB, free: 14.72 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004141/0.7439, allocations: 131.2 kB / 1.286 GB, free: 14.7 MB / 1.014 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.0008899/0.7448, allocations: 0.9301 MB / 1.287 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.7451, allocations: 184.1 kB / 1.287 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7451, allocations: 0 / 1.287 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.7452, allocations: 125.8 kB / 1.287 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.7457, allocations: 125.5 kB / 1.287 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/0.7509, allocations: 4.679 MB / 1.292 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.7515, allocations: 0.9703 MB / 1.293 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.7516, allocations: 31.2 kB / 1.293 GB, free: 10.67 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.7518, allocations: 175.8 kB / 1.293 GB, free: 10.53 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/0.7518, allocations: 3.938 kB / 1.293 GB, free: 10.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03943/0.7913, allocations: 12.07 MB / 1.305 GB, free: 9.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.832, allocations: 6.922 kB / 1.305 GB, free: 9.316 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable speShi.speRat in file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv. Warning: Get data of variable speShi.speRat from file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.240257432000362]