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.001326/0.001325, allocations: 107.2 kB / 17.08 MB, free: 5.961 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.001336/0.001336, allocations: 196.2 kB / 20.03 MB, free: 3.035 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.494/1.494, allocations: 222.9 MB / 245.7 MB, free: 4.195 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.794/2.794, allocations: 437.1 MB / 0.7178 GB, free: 4.477 MB / 0.5606 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.002046/0.002046, allocations: 71.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3294, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003549/0.333, allocations: 2.048 MB / 1.178 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003721/0.3368, allocations: 2.601 MB / 1.18 GB, free: 1.207 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.3369, allocations: 7.938 kB / 1.18 GB, free: 1.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.3384, allocations: 0.5056 MB / 1.181 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.3385, allocations: 71.53 kB / 1.181 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009425/0.3395, allocations: 278.8 kB / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004618/0.34, allocations: 326.4 kB / 1.182 GB, free: 32 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.3402, allocations: 97 kB / 1.182 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.3403, allocations: 111.4 kB / 1.182 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.3405, allocations: 135.2 kB / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.3406, allocations: 8 kB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.3411, allocations: 327.5 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.3413, allocations: 103.5 kB / 1.182 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.3415, allocations: 210.5 kB / 1.183 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009944/0.3425, allocations: 0.8288 MB / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3425, allocations: 0 / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3425, allocations: 0 / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.3425, allocations: 0 / 1.183 GB, free: 14.22 MB / 0.9356 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.001137/0.3437, allocations: 0.895 MB / 1.184 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3437, allocations: 15.97 kB / 1.184 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.327e-05/0.3438, allocations: 68.52 kB / 1.184 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.3444, allocations: 396.9 kB / 1.185 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3444, allocations: 4.375 kB / 1.185 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3444, allocations: 8.375 kB / 1.185 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.3447, allocations: 128.1 kB / 1.185 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3447, allocations: 4 kB / 1.185 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.3447, allocations: 4 kB / 1.185 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3447, allocations: 0 / 1.185 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.3449, allocations: 95.94 kB / 1.185 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/0.3457, allocations: 0.5588 MB / 1.185 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.3459, allocations: 106.5 kB / 1.186 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.346, allocations: 56.98 kB / 1.186 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.3461, allocations: 12.16 kB / 1.186 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.3463, allocations: 137 kB / 1.186 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3463, allocations: 3.938 kB / 1.186 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0005136/0.3468, allocations: 311.2 kB / 1.186 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.3469, allocations: 81.11 kB / 1.186 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009637/0.3479, allocations: 0.7973 MB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.3479, allocations: 29.7 kB / 1.187 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.3482, allocations: 284.3 kB / 1.187 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.3482, allocations: 31.73 kB / 1.187 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.3483, allocations: 25.72 kB / 1.187 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3485, allocations: 318 kB / 1.188 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.3486, allocations: 47.97 kB / 1.188 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.3486, allocations: 43.92 kB / 1.188 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3488, allocations: 160.2 kB / 1.188 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3488, allocations: 0 / 1.188 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000345/0.3492, allocations: 274.7 kB / 1.188 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/0.3492, allocations: 37.7 kB / 1.188 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3493, allocations: 0 / 1.188 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3493, allocations: 0 / 1.188 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.3494, allocations: 15.98 kB / 1.188 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3494, allocations: 0 / 1.188 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.3495, allocations: 11.89 kB / 1.188 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.3495, allocations: 4 kB / 1.188 GB, free: 9.031 MB / 0.9356 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.0003565/0.3499, allocations: 337.6 kB / 1.188 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/0.35, allocations: 75.52 kB / 1.189 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.3505, allocations: 304.9 kB / 1.189 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3505, allocations: 0 / 1.189 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3505, allocations: 4.125 kB / 1.189 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3505, allocations: 4 kB / 1.189 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.3509, allocations: 373.5 kB / 1.189 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3509, allocations: 3.938 kB / 1.189 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.351, allocations: 8 kB / 1.189 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.351, allocations: 0 / 1.189 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.351, allocations: 7.984 kB / 1.189 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.351, allocations: 0 / 1.189 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.351, allocations: 0 / 1.189 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.3514, allocations: 322.1 kB / 1.189 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.3516, allocations: 152.6 kB / 1.19 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.3517, allocations: 0 / 1.19 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/0.3518, allocations: 11.88 kB / 1.19 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.3518, allocations: 11.98 kB / 1.19 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3518, allocations: 4 kB / 1.19 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007103/0.3525, allocations: 0.5848 MB / 1.19 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3526, allocations: 0 / 1.19 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004376/0.353, allocations: 127.8 kB / 1.19 GB, free: 6.617 MB / 0.9356 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.0003741/0.3534, allocations: 191 kB / 1.191 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.3537, allocations: 215.3 kB / 1.191 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3537, allocations: 0 / 1.191 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.3539, allocations: 139.4 kB / 1.191 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.3545, allocations: 128.2 kB / 1.191 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.3561, allocations: 1.136 MB / 1.192 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/0.3568, allocations: 0.9742 MB / 1.193 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.3569, allocations: 23.44 kB / 1.193 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3569, allocations: 0 / 1.193 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.01098/0.3679, allocations: 6.752 MB / 1.2 GB, free: 13.04 MB / 0.9512 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/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.039585244026966]