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.000763/0.000763, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001093/0.001856, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007129/0.0007129, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009502/0.001663, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8987/0.8987, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07828/0.977, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.793/1.793, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4327/2.226, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.192e-06/1.192e-06, allocations: 0 / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.017e-05, allocations: 5.828 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002537/0.002557, allocations: 2.164 MB / 0.7318 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.004719, allocations: 2.587 MB / 0.7343 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.004806, allocations: 4.531 kB / 0.7343 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007482/0.005554, allocations: 477.9 kB / 0.7348 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.121e-05/0.005645, allocations: 76.53 kB / 0.7348 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.006084, allocations: 237.4 kB / 0.7351 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.006366, allocations: 343.9 kB / 0.7354 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.006475, allocations: 57.09 kB / 0.7355 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.006686, allocations: 227.2 kB / 0.7357 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.006797, allocations: 107.7 kB / 0.7358 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.006818, allocations: 8 kB / 0.7358 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.007211, allocations: 368.5 kB / 0.7361 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/0.007293, allocations: 103.5 kB / 0.7362 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.007367, allocations: 88.88 kB / 0.7363 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.007817, allocations: 0.5412 MB / 0.7368 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.007827, allocations: 0 / 0.7368 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.007828, allocations: 1.25 kB / 0.7368 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.007839, allocations: 0 / 0.7368 GB, free: 13.08 MB / 0.7136 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.0007015/0.008541, allocations: 0.8882 MB / 0.7377 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.00857, allocations: 13.28 kB / 0.7377 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.008627, allocations: 40.89 kB / 0.7378 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.008889, allocations: 330.3 kB / 0.7381 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.008907, allocations: 9.406 kB / 0.7381 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.008923, allocations: 8.375 kB / 0.7381 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.009074, allocations: 120 kB / 0.7382 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.009083, allocations: 8.469 kB / 0.7382 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.009092, allocations: 1.562 kB / 0.7382 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.009096, allocations: 0 / 0.7382 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.663e-05/0.009153, allocations: 62.38 kB / 0.7383 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.009534, allocations: 325.6 kB / 0.7386 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/0.009632, allocations: 127 kB / 0.7387 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.009664, allocations: 54.53 kB / 0.7388 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.009691, allocations: 4.562 kB / 0.7388 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.009803, allocations: 137.6 kB / 0.7389 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.009804, allocations: 0.75 kB / 0.7389 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000173/0.009977, allocations: 219.4 kB / 0.7391 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.01003, allocations: 166.4 kB / 0.7393 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.01033, allocations: 0.5163 MB / 0.7398 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.01034, allocations: 25.7 kB / 0.7398 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.01042, allocations: 175.2 kB / 0.74 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.01045, allocations: 35.72 kB / 0.74 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.01048, allocations: 21.72 kB / 0.74 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.01055, allocations: 314 kB / 0.7403 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.01058, allocations: 49.56 kB / 0.7404 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/0.0106, allocations: 49.62 kB / 0.7404 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.909e-05/0.01067, allocations: 111.4 kB / 0.7405 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01067, allocations: 0.9375 kB / 0.7405 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001103/0.01078, allocations: 173 kB / 0.7407 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.01081, allocations: 37.55 kB / 0.7407 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.01082, allocations: 0 / 0.7407 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.01083, allocations: 2.812 kB / 0.7407 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.997e-05/0.01088, allocations: 15.98 kB / 0.7407 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.01088, allocations: 4 kB / 0.7407 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.01094, allocations: 8 kB / 0.7408 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.01096, allocations: 4 kB / 0.7408 GB, free: 8.793 MB / 0.7136 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 9.562e-05/0.01105, allocations: 156.2 kB / 0.7409 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.01108, allocations: 42.98 kB / 0.7409 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.01123, allocations: 202.5 kB / 0.7411 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.01123, allocations: 4 kB / 0.7411 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.01123, allocations: 0 / 0.7411 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.01124, allocations: 3.938 kB / 0.7411 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.01138, allocations: 189.6 kB / 0.7413 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01139, allocations: 0 / 0.7413 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.01141, allocations: 8 kB / 0.7413 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.01146, allocations: 55.56 kB / 0.7414 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01147, allocations: 5.625 kB / 0.7414 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.01147, allocations: 0 / 0.7414 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.01147, allocations: 0 / 0.7414 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.01147, allocations: 0 / 0.7414 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.0116, allocations: 223 kB / 0.7416 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.01163, allocations: 7.984 kB / 0.7416 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.01168, allocations: 4 kB / 0.7416 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.01171, allocations: 12.64 kB / 0.7416 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.01171, allocations: 0 / 0.7416 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001642/0.01188, allocations: 249.2 kB / 0.7419 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01188, allocations: 0.6562 kB / 0.7419 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001979/0.01207, allocations: 131.7 kB / 0.742 GB, free: 7.445 MB / 0.7136 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.0002357/0.01231, allocations: 193.9 kB / 0.7422 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.01245, allocations: 191.5 kB / 0.7424 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.01246, allocations: 8 kB / 0.7424 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.563e-05/0.01252, allocations: 132.3 kB / 0.7425 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.01305, allocations: 1.175 MB / 0.7436 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.01749, allocations: 0.8751 MB / 0.7445 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.708e-05/0.01758, allocations: 172.7 kB / 0.7447 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.625e-05/0.01764, allocations: 23.78 kB / 0.7447 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.01781, allocations: 129.8 kB / 0.7448 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of SimCode: time 3.8e-07/0.01781, allocations: 1.531 kB / 0.7448 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of Templates: time 0.008049/0.02585, allocations: 6.528 MB / 0.7512 GB, free: 13.97 MB / 0.7292 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.713461118750274]