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.0008354/0.0008354, 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.0008775/0.0008775, allocations: 169.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.9074/0.9074, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.698/1.698, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.42e-05, allocations: 10.16 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003681/0.003706, allocations: 2.017 MB / 0.983 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003143/0.006848, allocations: 2.366 MB / 0.9853 GB, free: 14.17 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.007012, allocations: 0 / 0.9853 GB, free: 14.17 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.00825, allocations: 473.7 kB / 0.9857 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.008407, allocations: 79.47 kB / 0.9858 GB, free: 13.62 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008787/0.009286, allocations: 275.2 kB / 0.9861 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004484/0.009735, allocations: 351.8 kB / 0.9864 GB, free: 13.01 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.009892, allocations: 45.22 kB / 0.9864 GB, free: 12.96 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.01008, allocations: 151.6 kB / 0.9866 GB, free: 12.82 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.01025, allocations: 107.7 kB / 0.9867 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.01028, allocations: 8 kB / 0.9867 GB, free: 12.7 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000512/0.01079, allocations: 327.5 kB / 0.987 GB, free: 12.38 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.01092, allocations: 111.5 kB / 0.9871 GB, free: 12.27 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.01104, allocations: 99.55 kB / 0.9872 GB, free: 12.18 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.01209, allocations: 0.849 MB / 0.988 GB, free: 11.32 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.0121, allocations: 0 / 0.988 GB, free: 11.32 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.984e-06/0.0121, allocations: 0 / 0.988 GB, free: 11.32 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.01211, allocations: 0 / 0.988 GB, free: 11.32 MB / 0.948 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.001289/0.0134, allocations: 0.8275 MB / 0.9889 GB, free: 10.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.01346, allocations: 8.031 kB / 0.9889 GB, free: 10.45 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/0.01352, allocations: 42.73 kB / 0.9889 GB, free: 10.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.01362, allocations: 72.47 kB / 0.989 GB, free: 10.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.0142, allocations: 330.4 kB / 0.9893 GB, free: 9.977 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.01422, allocations: 8.375 kB / 0.9893 GB, free: 9.969 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.01424, allocations: 8.312 kB / 0.9893 GB, free: 9.961 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.01455, allocations: 168 kB / 0.9895 GB, free: 9.785 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.01457, allocations: 8 kB / 0.9895 GB, free: 9.777 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.0146, allocations: 8 kB / 0.9895 GB, free: 9.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.01461, allocations: 0 / 0.9895 GB, free: 9.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.01482, allocations: 129.6 kB / 0.9896 GB, free: 9.637 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/0.01556, allocations: 0.4955 MB / 0.9901 GB, free: 9.098 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.01572, allocations: 128.2 kB / 0.9902 GB, free: 8.957 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.412e-05/0.0158, allocations: 82.69 kB / 0.9903 GB, free: 8.867 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.01585, allocations: 8.078 kB / 0.9903 GB, free: 8.859 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.01607, allocations: 170.8 kB / 0.9905 GB, free: 8.668 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/0.01607, allocations: 0 / 0.9905 GB, free: 8.668 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0004554/0.01653, allocations: 370.2 kB / 0.9908 GB, free: 8.281 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.01657, allocations: 89.11 kB / 0.9909 GB, free: 8.176 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/0.0173, allocations: 0.7934 MB / 0.9917 GB, free: 7.375 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.01731, allocations: 25.7 kB / 0.9917 GB, free: 7.344 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.01751, allocations: 292.3 kB / 0.992 GB, free: 7.055 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.01755, allocations: 31.67 kB / 0.992 GB, free: 7.023 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.0176, allocations: 25.72 kB / 0.992 GB, free: 6.992 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.01769, allocations: 314 kB / 0.9923 GB, free: 6.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.01777, allocations: 81.67 kB / 0.9924 GB, free: 6.594 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.01783, allocations: 77.61 kB / 0.9925 GB, free: 6.512 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.01796, allocations: 156.2 kB / 0.9926 GB, free: 6.344 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01796, allocations: 4 kB / 0.9926 GB, free: 6.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002554/0.01822, allocations: 316.6 kB / 0.9929 GB, free: 6.012 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.01826, allocations: 37.64 kB / 0.993 GB, free: 5.969 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01826, allocations: 0 / 0.993 GB, free: 5.969 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.01828, allocations: 0 / 0.993 GB, free: 5.969 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.01836, allocations: 15.92 kB / 0.993 GB, free: 5.953 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.01837, allocations: 0 / 0.993 GB, free: 5.953 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.785e-05/0.01846, allocations: 7.953 kB / 0.993 GB, free: 5.945 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.01848, allocations: 8 kB / 0.993 GB, free: 5.938 MB / 0.948 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.0002475/0.01872, allocations: 337.2 kB / 0.9933 GB, free: 5.594 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.01877, allocations: 71.58 kB / 0.9934 GB, free: 5.523 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.01908, allocations: 339 kB / 0.9937 GB, free: 5.172 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.01908, allocations: 0 / 0.9937 GB, free: 5.172 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.01909, allocations: 3.938 kB / 0.9937 GB, free: 5.168 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01909, allocations: 0 / 0.9937 GB, free: 5.168 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.01935, allocations: 340.5 kB / 0.994 GB, free: 4.793 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01936, allocations: 3.984 kB / 0.994 GB, free: 4.789 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.01939, allocations: 11.92 kB / 0.9941 GB, free: 4.777 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01939, allocations: 0 / 0.9941 GB, free: 4.777 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.0194, allocations: 7.938 kB / 0.9941 GB, free: 4.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01941, allocations: 0 / 0.9941 GB, free: 4.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01941, allocations: 4 kB / 0.9941 GB, free: 4.766 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.01966, allocations: 348.1 kB / 0.9944 GB, free: 4.395 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.01974, allocations: 75.55 kB / 0.9945 GB, free: 4.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.01978, allocations: 11.94 kB / 0.9945 GB, free: 4.309 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.01984, allocations: 4 kB / 0.9945 GB, free: 4.305 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.01988, allocations: 7.984 kB / 0.9945 GB, free: 4.297 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01989, allocations: 4 kB / 0.9945 GB, free: 4.293 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004583/0.02035, allocations: 0.5848 MB / 0.9951 GB, free: 3.715 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.02035, allocations: 0 / 0.9951 GB, free: 3.715 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003357/0.02068, allocations: 127.8 kB / 0.9952 GB, free: 3.59 MB / 0.948 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.0007052/0.02139, allocations: 0.99 MB / 0.9962 GB, free: 2.555 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.02163, allocations: 242.7 kB / 0.9964 GB, free: 2.293 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02163, allocations: 0 / 0.9964 GB, free: 2.293 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.893e-05/0.02172, allocations: 153.1 kB / 0.9965 GB, free: 2.125 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.02208, allocations: 121.8 kB / 0.9967 GB, free: 2.008 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.02589, allocations: 4.836 MB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.02613, allocations: 382.8 kB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.731e-05/0.02622, allocations: 29.89 kB / 1.002 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.02635, allocations: 164.4 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of SimCode: time 1.382e-06/0.02635, allocations: 4 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.05245, allocations: 13.21 MB / 1.015 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/6.96, allocations: 1.875 kB / 1.015 GB, free: 15.53 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/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] "Error: Could not read variable speShi.speRat in file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv. Warning: Get data of variable speShi.speRat from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.153883852995932]