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.001416/0.001416, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001608/0.001608, allocations: 212.5 kB / 22.99 MB, free: 4.945 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.387/3.387, allocations: 0.4892 GB / 0.7951 GB, free: 35.51 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.002129/0.002129, allocations: 71.36 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3034, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003733/0.3072, allocations: 2.02 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003835/0.311, allocations: 2.359 MB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.3111, allocations: 4 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.3124, allocations: 457.9 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.3126, allocations: 71.52 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009077/0.3135, allocations: 283.3 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.3139, allocations: 321.5 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.3141, allocations: 57.17 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.3142, allocations: 99.53 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.3144, allocations: 147.2 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.3145, allocations: 8 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006239/0.3151, allocations: 331.5 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.3152, allocations: 111.5 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.3154, allocations: 142.9 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.3164, allocations: 0.8327 MB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3164, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3164, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.3164, allocations: 0 / 1.333 GB, free: 10.58 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.001247/0.3177, allocations: 0.8197 MB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3177, allocations: 15.97 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.3178, allocations: 72.5 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/0.3184, allocations: 327.2 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3184, allocations: 8.375 kB / 1.335 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.3184, allocations: 12.31 kB / 1.335 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.3187, allocations: 159.6 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3187, allocations: 3.938 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3188, allocations: 4 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3188, allocations: 4 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.319, allocations: 125.6 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.3198, allocations: 476.1 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.32, allocations: 124.2 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3201, allocations: 82.67 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.3201, allocations: 4 kB / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.3204, allocations: 170.9 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.3204, allocations: 0 / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005981/0.321, allocations: 382.2 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.321, allocations: 77.11 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000971/0.322, allocations: 0.7582 MB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.322, allocations: 29.7 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.3223, allocations: 299.9 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3223, allocations: 23.8 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.3224, allocations: 29.69 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3226, allocations: 318 kB / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.3227, allocations: 69.69 kB / 1.338 GB, free: 6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3228, allocations: 85.61 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.323, allocations: 168.5 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.323, allocations: 0 / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004044/0.3234, allocations: 304.5 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.3234, allocations: 45.62 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3234, allocations: 4 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3234, allocations: 4 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/0.3235, allocations: 4 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3235, allocations: 4 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.3237, allocations: 11.94 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.3237, allocations: 7.938 kB / 1.338 GB, free: 5.328 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.0003783/0.3241, allocations: 341.3 kB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/0.3241, allocations: 67.52 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.3246, allocations: 326.5 kB / 1.339 GB, free: 4.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3246, allocations: 0 / 1.339 GB, free: 4.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3247, allocations: 11.92 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3247, allocations: 0 / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.325, allocations: 309.1 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.325, allocations: 0 / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.3251, allocations: 15.92 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.3251, allocations: 0 / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3251, allocations: 3.938 kB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3251, allocations: 4 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3251, allocations: 0 / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.3256, allocations: 340 kB / 1.34 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.3257, allocations: 75.48 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.3258, allocations: 11.94 kB / 1.34 GB, free: 3.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3259, allocations: 4 kB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.3259, allocations: 11.98 kB / 1.34 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.326, allocations: 4 kB / 1.34 GB, free: 3.734 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007168/0.3267, allocations: 0.5575 MB / 1.34 GB, free: 3.184 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3267, allocations: 0 / 1.34 GB, free: 3.184 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004354/0.3271, allocations: 127.8 kB / 1.34 GB, free: 3.059 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.0004012/0.3275, allocations: 187 kB / 1.34 GB, free: 2.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.3279, allocations: 246.9 kB / 1.341 GB, free: 2.602 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3279, allocations: 0 / 1.341 GB, free: 2.602 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.3281, allocations: 153.2 kB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.3286, allocations: 124.6 kB / 1.341 GB, free: 2.309 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.3304, allocations: 1.178 MB / 1.342 GB, free: 1.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.3309, allocations: 374.5 kB / 1.343 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.3309, allocations: 15.44 kB / 1.343 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.3309, allocations: 0 / 1.343 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of Templates: time 0.01142/0.3423, allocations: 6.901 MB / 1.349 GB, free: 9.84 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.840131048113108]