Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001319/0.001319, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001447/0.001447, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.499/1.499, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 63.89 kB / 1.057 GB, free: 1.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3747, allocations: 160.7 MB / 1.214 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003957/0.3786, allocations: 2.057 MB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003884/0.3825, allocations: 2.62 MB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.3826, allocations: 4 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.384, allocations: 0.5094 MB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.3841, allocations: 63.59 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009609/0.3851, allocations: 291 kB / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004623/0.3855, allocations: 314.4 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.3857, allocations: 69 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.3858, allocations: 111.4 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.3861, allocations: 147.2 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.3861, allocations: 8 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005541/0.3867, allocations: 327.5 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.3868, allocations: 99.55 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.387, allocations: 218.5 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009863/0.388, allocations: 0.821 MB / 1.222 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.388, allocations: 4 kB / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.904e-06/0.388, allocations: 0 / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.388, allocations: 4 kB / 1.222 GB, free: 9.223 MB / 0.9669 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.001238/0.3893, allocations: 0.9066 MB / 1.222 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3893, allocations: 8.031 kB / 1.222 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.3894, allocations: 72.47 kB / 1.223 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/0.39, allocations: 389 kB / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.39, allocations: 4.375 kB / 1.223 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.39, allocations: 8.375 kB / 1.223 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.3903, allocations: 129.9 kB / 1.223 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3903, allocations: 0 / 1.223 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.3903, allocations: 7.984 kB / 1.223 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3903, allocations: 4 kB / 1.223 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.3905, allocations: 99.86 kB / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008045/0.3913, allocations: 0.551 MB / 1.224 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.3915, allocations: 90.53 kB / 1.224 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.3916, allocations: 52.97 kB / 1.224 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.3916, allocations: 4.188 kB / 1.224 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.3918, allocations: 149 kB / 1.224 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.3918, allocations: 0 / 1.224 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0005267/0.3923, allocations: 306.9 kB / 1.224 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.3924, allocations: 85.11 kB / 1.224 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.3934, allocations: 0.7934 MB / 1.225 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.3935, allocations: 25.7 kB / 1.225 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.3938, allocations: 288.3 kB / 1.225 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.3938, allocations: 31.73 kB / 1.225 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.3939, allocations: 29.7 kB / 1.225 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.394, allocations: 314 kB / 1.226 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.354e-05/0.3941, allocations: 51.91 kB / 1.226 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.3942, allocations: 51.91 kB / 1.226 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.3944, allocations: 156.6 kB / 1.226 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3944, allocations: 0 / 1.226 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003414/0.3947, allocations: 262.9 kB / 1.226 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.3948, allocations: 41.69 kB / 1.226 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3948, allocations: 4.078 kB / 1.226 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3948, allocations: 4 kB / 1.226 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.3949, allocations: 4 kB / 1.226 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3949, allocations: 3.984 kB / 1.226 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.395, allocations: 23.81 kB / 1.226 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.395, allocations: 4 kB / 1.226 GB, free: 4.039 MB / 0.9669 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.0003579/0.3954, allocations: 345.4 kB / 1.227 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.3954, allocations: 67.52 kB / 1.227 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/0.3959, allocations: 297 kB / 1.227 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3959, allocations: 4 kB / 1.227 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3959, allocations: 0 / 1.227 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3959, allocations: 3.984 kB / 1.227 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.3963, allocations: 373.5 kB / 1.227 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3963, allocations: 3.938 kB / 1.227 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.3964, allocations: 11.94 kB / 1.227 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3964, allocations: 0 / 1.227 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.3964, allocations: 12.06 kB / 1.227 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3964, allocations: 4 kB / 1.227 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3964, allocations: 0 / 1.227 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.3968, allocations: 326.1 kB / 1.228 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.397, allocations: 148.6 kB / 1.228 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.397, allocations: 7.984 kB / 1.228 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3971, allocations: 4 kB / 1.228 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.3972, allocations: 4 kB / 1.228 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.3972, allocations: 7.984 kB / 1.228 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000711/0.3979, allocations: 0.5848 MB / 1.228 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3979, allocations: 4 kB / 1.228 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004308/0.3983, allocations: 127.8 kB / 1.229 GB, free: 1.621 MB / 0.9669 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.0004059/0.3987, allocations: 187 kB / 1.229 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.3991, allocations: 175.3 kB / 1.229 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3991, allocations: 0 / 1.229 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.3992, allocations: 115.4 kB / 1.229 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.3997, allocations: 129.1 kB / 1.229 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.4014, allocations: 1.144 MB / 1.23 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.4021, allocations: 0.9743 MB / 1.231 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.4021, allocations: 19.44 kB / 1.231 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.4021, allocations: 4 kB / 1.231 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.01045/0.4126, allocations: 6.758 MB / 1.238 GB, free: 8.09 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.164339106995612]