Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000837/0.000837, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001506/0.001506, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8849/0.8849, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.752/1.752, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.187e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.00258/0.002602, allocations: 2.018 MB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.004813, allocations: 2.366 MB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.004919, allocations: 3.938 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000909/0.005828, allocations: 477.6 kB / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.006005, allocations: 67.59 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.00663, allocations: 284.9 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.006939, allocations: 334.2 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.007066, allocations: 53.22 kB / 1.005 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.007193, allocations: 147.6 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.007333, allocations: 111.6 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.007354, allocations: 8 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.007712, allocations: 335.4 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.007814, allocations: 103.6 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.818e-05/0.007902, allocations: 95.59 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.008556, allocations: 0.8528 MB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.00856, allocations: 4 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.806e-06/0.008562, allocations: 4 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.008569, allocations: 0 / 1.007 GB, free: 6.207 MB / 0.9636 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.0007707/0.00934, allocations: 0.8158 MB / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.009379, allocations: 12.75 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.009418, allocations: 38.73 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.149e-05/0.009479, allocations: 68.52 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.009835, allocations: 342.2 kB / 1.008 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.00985, allocations: 4.375 kB / 1.008 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.009866, allocations: 12.38 kB / 1.008 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.01006, allocations: 164.2 kB / 1.008 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.01006, allocations: 0 / 1.008 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.01007, allocations: 4 kB / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.01008, allocations: 4 kB / 1.008 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.0102, allocations: 129.6 kB / 1.008 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.01074, allocations: 0.4956 MB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.01088, allocations: 124.2 kB / 1.009 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.01094, allocations: 86.67 kB / 1.009 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.01098, allocations: 7.984 kB / 1.009 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.01113, allocations: 167 kB / 1.009 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.01113, allocations: 0 / 1.009 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.000356/0.01149, allocations: 382.1 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.01152, allocations: 85.11 kB / 1.01 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/0.01209, allocations: 0.7896 MB / 1.01 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.01211, allocations: 33.64 kB / 1.01 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.01227, allocations: 292.2 kB / 1.011 GB, free: 1.938 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.0123, allocations: 27.78 kB / 1.011 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.01234, allocations: 29.72 kB / 1.011 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.0124, allocations: 310 kB / 1.011 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.333e-05/0.01247, allocations: 85.67 kB / 1.011 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.416e-05/0.01252, allocations: 73.69 kB / 1.011 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.01264, allocations: 160.3 kB / 1.011 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01264, allocations: 4 kB / 1.011 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000303/0.01294, allocations: 308.5 kB / 1.012 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.01298, allocations: 45.62 kB / 1.012 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.01298, allocations: 0 / 1.012 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.01299, allocations: 0 / 1.012 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.01305, allocations: 11.98 kB / 1.012 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.01306, allocations: 0 / 1.012 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.01313, allocations: 11.95 kB / 1.012 GB, free: 0.8281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.01315, allocations: 8 kB / 1.012 GB, free: 0.8203 MB / 0.9636 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.0002158/0.01336, allocations: 341.6 kB / 1.012 GB, free: 484 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.0134, allocations: 63.58 kB / 1.012 GB, free: 420 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.0137, allocations: 346.5 kB / 1.012 GB, free: 52 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.0137, allocations: 4 kB / 1.012 GB, free: 48 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01371, allocations: 0 / 1.012 GB, free: 48 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01371, allocations: 0 / 1.012 GB, free: 48 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.01395, allocations: 336.5 kB / 1.013 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01395, allocations: 0 / 1.013 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.01398, allocations: 11.98 kB / 1.013 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01399, allocations: 4 kB / 1.013 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.014, allocations: 7.938 kB / 1.013 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.014, allocations: 0 / 1.013 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.014, allocations: 0 / 1.013 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.01423, allocations: 344.4 kB / 1.013 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.01431, allocations: 71.55 kB / 1.013 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.01434, allocations: 7.938 kB / 1.013 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.0144, allocations: 4 kB / 1.013 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.01444, allocations: 7.984 kB / 1.013 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.01445, allocations: 8 kB / 1.013 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004218/0.01487, allocations: 0.5848 MB / 1.014 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.01487, allocations: 7.938 kB / 1.014 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002793/0.01515, allocations: 131.8 kB / 1.014 GB, free: 14.47 MB / 0.9792 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.0006306/0.01578, allocations: 0.986 MB / 1.015 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.016, allocations: 242.9 kB / 1.015 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.016, allocations: 0 / 1.015 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.01609, allocations: 153.1 kB / 1.015 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.01644, allocations: 135.1 kB / 1.015 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.02017, allocations: 4.846 MB / 1.02 GB, free: 7.898 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.0204, allocations: 378.9 kB / 1.02 GB, free: 7.504 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.423e-05/0.02049, allocations: 21.95 kB / 1.02 GB, free: 7.48 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.02064, allocations: 168.4 kB / 1.021 GB, free: 7.316 MB / 0.9792 GB Notification: Performance of SimCode: time 8.12e-07/0.02064, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.04418, allocations: 13.2 MB / 1.034 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/6.958, allocations: 10.3 kB / 1.034 GB, free: 10.36 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.042336870916188]