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.001149/0.001149, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001228/0.001228, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8663/0.8663, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.708/1.708, allocations: 377.8 MB / 0.6228 GB, free: 8.645 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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 0.9822 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.408e-05, allocations: 9.172 kB / 0.9822 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002609/0.002633, allocations: 2.014 MB / 0.9842 GB, free: 0 / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002445/0.005078, allocations: 2.366 MB / 0.9865 GB, free: 13.62 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.005193, allocations: 4 kB / 0.9865 GB, free: 13.62 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009067/0.0061, allocations: 473.6 kB / 0.987 GB, free: 13.15 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 9.407e-05/0.006194, allocations: 63.59 kB / 0.987 GB, free: 13.09 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.006758, allocations: 291.1 kB / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.007069, allocations: 337.5 kB / 0.9876 GB, free: 12.48 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.007194, allocations: 45.25 kB / 0.9877 GB, free: 12.43 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.007321, allocations: 155.6 kB / 0.9878 GB, free: 12.28 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.007461, allocations: 107.7 kB / 0.9879 GB, free: 12.17 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.007483, allocations: 8 kB / 0.9879 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.007833, allocations: 331.5 kB / 0.9883 GB, free: 11.84 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.487e-05/0.007928, allocations: 103.6 kB / 0.9884 GB, free: 11.74 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.142e-05/0.00802, allocations: 95.61 kB / 0.9884 GB, free: 11.64 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006719/0.008692, allocations: 0.8566 MB / 0.9893 GB, free: 10.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.008694, allocations: 4 kB / 0.9893 GB, free: 10.78 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.008695, allocations: 0 / 0.9893 GB, free: 10.78 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.008701, allocations: 0 / 0.9893 GB, free: 10.78 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.0009178/0.009619, allocations: 0.8236 MB / 0.9901 GB, free: 9.918 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.009655, allocations: 12.03 kB / 0.9901 GB, free: 9.906 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.009723, allocations: 68.47 kB / 0.9902 GB, free: 9.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.01003, allocations: 334.5 kB / 0.9905 GB, free: 9.484 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.01004, allocations: 8.312 kB / 0.9905 GB, free: 9.477 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.01006, allocations: 8.375 kB / 0.9905 GB, free: 9.469 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.01027, allocations: 164.3 kB / 0.9907 GB, free: 9.297 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.01027, allocations: 3.938 kB / 0.9907 GB, free: 9.293 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.01029, allocations: 0 / 0.9907 GB, free: 9.293 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.01029, allocations: 4 kB / 0.9907 GB, free: 9.289 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.01041, allocations: 133.6 kB / 0.9908 GB, free: 9.152 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.01091, allocations: 468.1 kB / 0.9912 GB, free: 8.664 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.01103, allocations: 120.2 kB / 0.9914 GB, free: 8.531 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.0111, allocations: 86.61 kB / 0.9914 GB, free: 8.438 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.01113, allocations: 4 kB / 0.9914 GB, free: 8.434 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.01129, allocations: 174.8 kB / 0.9916 GB, free: 8.238 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.01129, allocations: 0 / 0.9916 GB, free: 8.238 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0003655/0.01166, allocations: 382.3 kB / 0.992 GB, free: 7.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.01169, allocations: 81.11 kB / 0.9921 GB, free: 7.742 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.01224, allocations: 0.7621 MB / 0.9928 GB, free: 6.973 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.01225, allocations: 25.7 kB / 0.9928 GB, free: 6.941 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.01242, allocations: 296 kB / 0.9931 GB, free: 6.648 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.01245, allocations: 27.75 kB / 0.9931 GB, free: 6.621 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.01249, allocations: 29.7 kB / 0.9932 GB, free: 6.586 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.01256, allocations: 314 kB / 0.9935 GB, free: 6.273 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.01262, allocations: 77.69 kB / 0.9935 GB, free: 6.191 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.01268, allocations: 81.61 kB / 0.9936 GB, free: 6.105 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.0128, allocations: 164.6 kB / 0.9938 GB, free: 5.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.0128, allocations: 0 / 0.9938 GB, free: 5.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000223/0.01302, allocations: 304.6 kB / 0.9941 GB, free: 5.613 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.01305, allocations: 45.69 kB / 0.9941 GB, free: 5.562 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01306, allocations: 0 / 0.9941 GB, free: 5.562 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.01307, allocations: 3.938 kB / 0.9941 GB, free: 5.559 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-05/0.01313, allocations: 8 kB / 0.9941 GB, free: 5.551 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.01314, allocations: 0 / 0.9941 GB, free: 5.551 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.01321, allocations: 11.92 kB / 0.9941 GB, free: 5.539 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.01322, allocations: 4 kB / 0.9941 GB, free: 5.535 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.0002242/0.01345, allocations: 341.6 kB / 0.9945 GB, free: 5.188 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.01349, allocations: 67.56 kB / 0.9945 GB, free: 5.121 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.01377, allocations: 334.5 kB / 0.9948 GB, free: 4.773 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01377, allocations: 3.938 kB / 0.9948 GB, free: 4.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.01378, allocations: 4 kB / 0.9948 GB, free: 4.766 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01378, allocations: 0 / 0.9948 GB, free: 4.766 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.01399, allocations: 305.1 kB / 0.9951 GB, free: 4.438 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.01399, allocations: 3.984 kB / 0.9951 GB, free: 4.434 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.01402, allocations: 8 kB / 0.9951 GB, free: 4.426 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01402, allocations: 0 / 0.9951 GB, free: 4.426 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.01403, allocations: 7.938 kB / 0.9952 GB, free: 4.418 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01403, allocations: 0 / 0.9952 GB, free: 4.418 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01403, allocations: 7.875 kB / 0.9952 GB, free: 4.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.01426, allocations: 344 kB / 0.9955 GB, free: 4.043 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.01434, allocations: 71.48 kB / 0.9956 GB, free: 3.973 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.01437, allocations: 4 kB / 0.9956 GB, free: 3.969 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.01443, allocations: 4 kB / 0.9956 GB, free: 3.965 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.01447, allocations: 11.92 kB / 0.9956 GB, free: 3.953 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.01448, allocations: 8.188 kB / 0.9956 GB, free: 3.945 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004033/0.01488, allocations: 0.5614 MB / 0.9961 GB, free: 3.391 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01488, allocations: 0 / 0.9961 GB, free: 3.391 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003878/0.01527, allocations: 131.8 kB / 0.9963 GB, free: 3.262 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.0002664/0.01553, allocations: 207 kB / 0.9965 GB, free: 3.047 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.01575, allocations: 246.8 kB / 0.9967 GB, free: 2.781 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01576, allocations: 0 / 0.9967 GB, free: 2.781 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.01584, allocations: 153.1 kB / 0.9968 GB, free: 2.613 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.01617, allocations: 123 kB / 0.997 GB, free: 2.492 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000997/0.01717, allocations: 1.15 MB / 0.9981 GB, free: 1.301 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.0174, allocations: 370.5 kB / 0.9984 GB, free: 0.9141 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.01743, allocations: 16.5 kB / 0.9984 GB, free: 0.8984 MB / 0.948 GB Notification: Performance of SimCode: time 7.72e-07/0.01743, allocations: 0 / 0.9984 GB, free: 0.8984 MB / 0.948 GB Notification: Performance of Templates: time 0.00606/0.02349, allocations: 6.902 MB / 1.005 GB, free: 10.06 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.350604515522718]