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.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.001118/0.001118, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00123/0.00123, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9164/0.9164, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.718/1.718, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.513e-06/1.513e-06, allocations: 0 / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.322e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002424/0.002447, allocations: 2.031 MB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.004628, allocations: 2.359 MB / 0.9548 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.691e-05/0.004725, allocations: 0 / 0.9548 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000968/0.005693, allocations: 477.6 kB / 0.9553 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.0058, allocations: 75.47 kB / 0.9553 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.006392, allocations: 278.2 kB / 0.9556 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.006729, allocations: 334.2 kB / 0.9559 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.006848, allocations: 45.25 kB / 0.956 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.006979, allocations: 155.5 kB / 0.9561 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.007114, allocations: 107.7 kB / 0.9562 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.007136, allocations: 8 kB / 0.9562 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.007526, allocations: 331.5 kB / 0.9565 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.007616, allocations: 115.4 kB / 0.9567 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.214e-05/0.007709, allocations: 103.6 kB / 0.9568 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.008348, allocations: 0.845 MB / 0.9576 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.008351, allocations: 4 kB / 0.9576 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.422e-06/0.008352, allocations: 0 / 0.9576 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.008358, allocations: 0 / 0.9576 GB, free: 12.19 MB / 0.9167 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.0007198/0.009078, allocations: 0.8235 MB / 0.9584 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.009117, allocations: 8.031 kB / 0.9584 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.009149, allocations: 42.73 kB / 0.9584 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.009208, allocations: 72.47 kB / 0.9585 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.009538, allocations: 334.4 kB / 0.9588 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.009552, allocations: 8.375 kB / 0.9588 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.009564, allocations: 4.375 kB / 0.9588 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.009746, allocations: 166 kB / 0.959 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.009753, allocations: 4 kB / 0.959 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.009764, allocations: 4 kB / 0.959 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.009768, allocations: 0 / 0.959 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.009885, allocations: 129.6 kB / 0.9591 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.01039, allocations: 0.4955 MB / 0.9596 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.01052, allocations: 128.3 kB / 0.9597 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.01058, allocations: 86.62 kB / 0.9598 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.01062, allocations: 7.984 kB / 0.9598 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.01077, allocations: 167 kB / 0.96 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.01077, allocations: 0 / 0.96 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0003473/0.01112, allocations: 382.1 kB / 0.9603 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.01115, allocations: 81.11 kB / 0.9604 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.01173, allocations: 0.7934 MB / 0.9612 GB, free: 8.254 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.01175, allocations: 29.7 kB / 0.9612 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.01191, allocations: 288.3 kB / 0.9615 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.01193, allocations: 35.73 kB / 0.9615 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.01197, allocations: 21.72 kB / 0.9616 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.01203, allocations: 317.9 kB / 0.9619 GB, free: 7.555 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/0.01209, allocations: 81.67 kB / 0.9619 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.369e-05/0.01215, allocations: 81.66 kB / 0.962 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.01229, allocations: 160.2 kB / 0.9622 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01229, allocations: 0 / 0.9622 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002112/0.0125, allocations: 309.1 kB / 0.9625 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.01253, allocations: 40.3 kB / 0.9625 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01254, allocations: 4 kB / 0.9625 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.01255, allocations: 0 / 0.9625 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.235e-05/0.01261, allocations: 23.86 kB / 0.9625 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01261, allocations: 0 / 0.9625 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-05/0.01269, allocations: 11.95 kB / 0.9625 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.0127, allocations: 4 kB / 0.9625 GB, free: 6.805 MB / 0.9167 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.0002105/0.01291, allocations: 341.1 kB / 0.9629 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.01295, allocations: 67.58 kB / 0.9629 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.01323, allocations: 338.6 kB / 0.9633 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01323, allocations: 0 / 0.9633 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.01324, allocations: 0 / 0.9633 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01324, allocations: 0 / 0.9633 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.01346, allocations: 340.5 kB / 0.9636 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01346, allocations: 0 / 0.9636 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.01349, allocations: 11.92 kB / 0.9636 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01349, allocations: 0 / 0.9636 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.0135, allocations: 11.92 kB / 0.9636 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01351, allocations: 0 / 0.9636 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01351, allocations: 0 / 0.9636 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.0138, allocations: 344 kB / 0.9639 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.01387, allocations: 79.48 kB / 0.964 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.0139, allocations: 7.938 kB / 0.964 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.01396, allocations: 4 kB / 0.964 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.014, allocations: 11.98 kB / 0.964 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.01401, allocations: 4 kB / 0.964 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004114/0.01442, allocations: 0.5848 MB / 0.9646 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01442, allocations: 0 / 0.9646 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000261/0.01468, allocations: 127.8 kB / 0.9647 GB, free: 4.461 MB / 0.9167 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.000614/0.0153, allocations: 0.9892 MB / 0.9657 GB, free: 3.434 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.01551, allocations: 242.7 kB / 0.9659 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01551, allocations: 3.938 kB / 0.9659 GB, free: 3.164 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/0.0156, allocations: 157.1 kB / 0.9661 GB, free: 2.992 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.01594, allocations: 123 kB / 0.9662 GB, free: 2.871 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.01962, allocations: 4.838 MB / 0.9709 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.01985, allocations: 374.9 kB / 0.9713 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 7.587e-05/0.01993, allocations: 29.88 kB / 0.9713 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.02005, allocations: 168.4 kB / 0.9715 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of SimCode: time 7.51e-07/0.02005, allocations: 4 kB / 0.9715 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.04448, allocations: 13.21 MB / 0.9844 GB, free: 396 kB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.281, allocations: 15.88 kB / 0.9844 GB, free: 380 kB / 0.9323 GB " [Timeout remaining time 293] (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/jenkins/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: 11.480103060603142]