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.001737/0.001737, allocations: 100.8 kB / 19.74 MB, free: 2.066 MB / 14.72 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.002136/0.002136, allocations: 213.4 kB / 23.04 MB, free: 4.844 MB / 14.72 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 1.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.195/3.195, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 66.38 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3238, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003418/0.3272, allocations: 2.031 MB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003352/0.3306, allocations: 2.367 MB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.927e-05/0.3307, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.3318, allocations: 453.9 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.3319, allocations: 67.59 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.3327, allocations: 283.5 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.3331, allocations: 322.3 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.3332, allocations: 45.2 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.3334, allocations: 115.4 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.3336, allocations: 135.2 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.3336, allocations: 8 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.3341, allocations: 335.5 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.3343, allocations: 115.5 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.3344, allocations: 146.9 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009331/0.3353, allocations: 0.8288 MB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3353, allocations: 0 / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3353, allocations: 0 / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.3354, allocations: 0 / 1.334 GB, free: 9.734 MB / 1.029 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.001122/0.3365, allocations: 0.8197 MB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3365, allocations: 8.031 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.3366, allocations: 68.52 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.3371, allocations: 335 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3371, allocations: 8.375 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.3372, allocations: 16.36 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.3374, allocations: 164.5 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3374, allocations: 0 / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3375, allocations: 0 / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3375, allocations: 4 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.3377, allocations: 133.6 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007104/0.3384, allocations: 464.1 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3386, allocations: 128.2 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.3387, allocations: 86.67 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.3387, allocations: 8 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.3389, allocations: 166.9 kB / 1.337 GB, free: 7.195 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.3389, allocations: 0 / 1.337 GB, free: 7.195 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000554/0.3395, allocations: 374.3 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.3396, allocations: 89.09 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009001/0.3405, allocations: 0.7543 MB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3405, allocations: 25.7 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.3408, allocations: 299.9 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.3408, allocations: 19.8 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.3409, allocations: 33.7 kB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.341, allocations: 310 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.3411, allocations: 81.67 kB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.3412, allocations: 78 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.3414, allocations: 164.2 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3414, allocations: 4 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003679/0.3417, allocations: 312.5 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.3418, allocations: 41.62 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.3418, allocations: 3.984 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3418, allocations: 0 / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.3419, allocations: 8 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3419, allocations: 4.062 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.342, allocations: 15.94 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.342, allocations: 8 kB / 1.339 GB, free: 4.48 MB / 1.029 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.0003382/0.3424, allocations: 344.4 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.3424, allocations: 67.52 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004559/0.3429, allocations: 326.5 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3429, allocations: 3.938 kB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3429, allocations: 0 / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3429, allocations: 3.938 kB / 1.34 GB, free: 3.715 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.3432, allocations: 305.2 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3432, allocations: 4 kB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.3433, allocations: 11.98 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3433, allocations: 0 / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.3433, allocations: 11.94 kB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3433, allocations: 0 / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3433, allocations: 0 / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.3437, allocations: 340 kB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.3438, allocations: 71.48 kB / 1.34 GB, free: 2.926 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.3439, allocations: 7.938 kB / 1.34 GB, free: 2.918 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.344, allocations: 8 kB / 1.341 GB, free: 2.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.344, allocations: 7.984 kB / 1.341 GB, free: 2.902 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.344, allocations: 8 kB / 1.341 GB, free: 2.895 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006942/0.3447, allocations: 0.5614 MB / 1.341 GB, free: 2.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3447, allocations: 3.938 kB / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004617/0.3452, allocations: 127.8 kB / 1.341 GB, free: 2.211 MB / 1.029 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.0003996/0.3456, allocations: 187 kB / 1.341 GB, free: 2.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.346, allocations: 242.7 kB / 1.342 GB, free: 1.758 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.346, allocations: 0 / 1.342 GB, free: 1.758 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.3461, allocations: 153.1 kB / 1.342 GB, free: 1.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.3467, allocations: 117.3 kB / 1.342 GB, free: 1.473 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.3484, allocations: 1.178 MB / 1.343 GB, free: 260 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.3488, allocations: 378.6 kB / 1.343 GB, free: 15.85 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.3488, allocations: 15.44 kB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of SimCode: time 4.2e-07/0.3488, allocations: 0 / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of Templates: time 0.01034/0.3592, allocations: 6.896 MB / 1.35 GB, free: 8.996 MB / 1.045 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/jenkins1/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: 12.255024721845984]