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.001759/0.001759, allocations: 113 kB / 17.6 MB, free: 4.684 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.001903/0.001903, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.516/1.516, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.665/2.665, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 176] 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.001972/0.001972, allocations: 75.83 kB / 1.059 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.373, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003598/0.3766, allocations: 2.092 MB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00373/0.3804, allocations: 2.617 MB / 1.221 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.3805, allocations: 4 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.3818, allocations: 0.5094 MB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.3819, allocations: 71.59 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009322/0.3829, allocations: 279.2 kB / 1.222 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004523/0.3833, allocations: 326.3 kB / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3835, allocations: 49.02 kB / 1.222 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.3836, allocations: 111.4 kB / 1.222 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.3838, allocations: 139.2 kB / 1.222 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.3839, allocations: 8 kB / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/0.3844, allocations: 331.5 kB / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.3845, allocations: 103.5 kB / 1.223 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.3847, allocations: 214.5 kB / 1.223 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009926/0.3857, allocations: 0.8249 MB / 1.224 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3857, allocations: 3.984 kB / 1.224 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3857, allocations: 4 kB / 1.224 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.3857, allocations: 0 / 1.224 GB, free: 7.641 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.001198/0.3869, allocations: 0.895 MB / 1.224 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.387, allocations: 8.031 kB / 1.224 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/0.3871, allocations: 68.52 kB / 1.225 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.3876, allocations: 392.9 kB / 1.225 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3877, allocations: 8.375 kB / 1.225 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.3877, allocations: 8.375 kB / 1.225 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.3879, allocations: 133.9 kB / 1.225 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3879, allocations: 0 / 1.225 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.388, allocations: 7.938 kB / 1.225 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.388, allocations: 0 / 1.225 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.3881, allocations: 103.8 kB / 1.225 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008212/0.389, allocations: 0.5472 MB / 1.226 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.3891, allocations: 102.5 kB / 1.226 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.334e-05/0.3892, allocations: 48.98 kB / 1.226 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.3893, allocations: 8.172 kB / 1.226 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.3895, allocations: 137 kB / 1.226 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.3895, allocations: 0 / 1.226 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0005147/0.39, allocations: 306.9 kB / 1.226 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.3901, allocations: 81.11 kB / 1.226 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009471/0.391, allocations: 0.7973 MB / 1.227 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.3911, allocations: 33.7 kB / 1.227 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.3913, allocations: 284.3 kB / 1.227 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.3914, allocations: 31.73 kB / 1.227 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.3914, allocations: 25.72 kB / 1.228 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3916, allocations: 310 kB / 1.228 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.718e-05/0.3916, allocations: 47.92 kB / 1.228 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.3917, allocations: 51.91 kB / 1.228 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.3919, allocations: 164.2 kB / 1.228 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3919, allocations: 0 / 1.228 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003578/0.3923, allocations: 271.3 kB / 1.228 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.3923, allocations: 33.7 kB / 1.228 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3923, allocations: 0 / 1.228 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3923, allocations: 0 / 1.228 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.3924, allocations: 15.98 kB / 1.228 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3924, allocations: 0 / 1.228 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.3925, allocations: 11.89 kB / 1.228 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.3926, allocations: 4 kB / 1.228 GB, free: 2.48 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.0003561/0.3929, allocations: 343.3 kB / 1.229 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/0.393, allocations: 71.52 kB / 1.229 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.3935, allocations: 308.9 kB / 1.229 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3935, allocations: 0 / 1.229 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3935, allocations: 0 / 1.229 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3935, allocations: 128 / 1.229 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.3939, allocations: 381.5 kB / 1.229 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3939, allocations: 3.938 kB / 1.229 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.394, allocations: 4 kB / 1.229 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.394, allocations: 4 kB / 1.229 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.394, allocations: 7.938 kB / 1.229 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.394, allocations: 0 / 1.229 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.394, allocations: 7.969 kB / 1.229 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.3944, allocations: 318.2 kB / 1.23 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.3946, allocations: 152.6 kB / 1.23 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.3946, allocations: 4 kB / 1.23 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.3947, allocations: 4 kB / 1.23 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.3948, allocations: 15.98 kB / 1.23 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3948, allocations: 4 kB / 1.23 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007126/0.3955, allocations: 0.5848 MB / 1.231 GB, free: 184 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3955, allocations: 0 / 1.231 GB, free: 184 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004581/0.3959, allocations: 127.8 kB / 1.231 GB, free: 56 kB / 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.0004095/0.3964, allocations: 187 kB / 1.231 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.3967, allocations: 179.3 kB / 1.231 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3967, allocations: 4 kB / 1.231 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.3968, allocations: 119.3 kB / 1.231 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.3974, allocations: 131.5 kB / 1.231 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.3992, allocations: 1.092 MB / 1.232 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.3998, allocations: 0.9743 MB / 1.233 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.4, allocations: 25.95 kB / 1.233 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.4, allocations: 15.44 kB / 1.233 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of SimCode: time 9.61e-07/0.4, allocations: 0 / 1.233 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of Templates: time 0.01279/0.4128, allocations: 5.606 MB / 1.239 GB, free: 7.754 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.658290909603238]