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.00169/0.00169, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001979/0.001979, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.556/1.556, allocations: 230.5 MB / 252.8 MB, free: 9.137 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.433/3.433, allocations: 0.4899 GB / 0.7915 GB, free: 33.22 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.002082/0.002082, allocations: 77.39 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3986, allocations: 176.1 MB / 1.321 GB, free: 2.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003931/0.4026, allocations: 2.079 MB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00393/0.4065, allocations: 2.651 MB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.4066, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.408, allocations: 0.5056 MB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.4081, allocations: 67.53 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008635/0.409, allocations: 269.5 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.4094, allocations: 331.9 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.4096, allocations: 65.02 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.4097, allocations: 115.4 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.4099, allocations: 143.2 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.4099, allocations: 8 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005191/0.4105, allocations: 327.5 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.4106, allocations: 115.5 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.4108, allocations: 218.5 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009688/0.4117, allocations: 0.8209 MB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4118, allocations: 4 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4118, allocations: 0 / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.4118, allocations: 0 / 1.329 GB, free: 11.07 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.001288/0.413, allocations: 0.9027 MB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4131, allocations: 11.98 kB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.4132, allocations: 68.52 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.4138, allocations: 393 kB / 1.33 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.4138, allocations: 8.281 kB / 1.33 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.4139, allocations: 8.375 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.4141, allocations: 133.9 kB / 1.33 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4142, allocations: 0 / 1.33 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.4142, allocations: 4 kB / 1.33 GB, free: 9.449 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4142, allocations: 4 kB / 1.33 GB, free: 9.445 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.4144, allocations: 91.94 kB / 1.33 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009232/0.4153, allocations: 0.5511 MB / 1.331 GB, free: 8.754 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.4155, allocations: 90.53 kB / 1.331 GB, free: 8.656 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/0.4156, allocations: 56.91 kB / 1.331 GB, free: 8.598 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.764e-05/0.4156, allocations: 8.188 kB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.4159, allocations: 141 kB / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 2.194e-06/0.4159, allocations: 0 / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005768/0.4164, allocations: 310.8 kB / 1.331 GB, free: 8.117 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.4165, allocations: 85.09 kB / 1.332 GB, free: 8.016 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.4176, allocations: 0.7935 MB / 1.332 GB, free: 7.211 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.4176, allocations: 25.7 kB / 1.332 GB, free: 7.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.4179, allocations: 292.2 kB / 1.333 GB, free: 6.891 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.4179, allocations: 23.8 kB / 1.333 GB, free: 6.867 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.418, allocations: 29.7 kB / 1.333 GB, free: 6.832 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4181, allocations: 310 kB / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.4182, allocations: 51.97 kB / 1.333 GB, free: 6.473 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.4183, allocations: 47.91 kB / 1.333 GB, free: 6.426 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.4185, allocations: 164.2 kB / 1.333 GB, free: 6.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4185, allocations: 0 / 1.333 GB, free: 6.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003546/0.4189, allocations: 270.8 kB / 1.333 GB, free: 5.973 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.7e-05/0.4189, allocations: 37.69 kB / 1.334 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.4189, allocations: 8.062 kB / 1.334 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4189, allocations: 0 / 1.334 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.419, allocations: 4 kB / 1.334 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.419, allocations: 4 kB / 1.334 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.4192, allocations: 15.88 kB / 1.334 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.4192, allocations: 4 kB / 1.334 GB, free: 5.895 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.000345/0.4195, allocations: 343.3 kB / 1.334 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/0.4196, allocations: 75.47 kB / 1.334 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.4201, allocations: 305.3 kB / 1.334 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.4201, allocations: 0 / 1.334 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4201, allocations: 0 / 1.334 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4201, allocations: 0 / 1.334 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.4206, allocations: 377.5 kB / 1.335 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4206, allocations: 3.938 kB / 1.335 GB, free: 4.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.4206, allocations: 11.94 kB / 1.335 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4206, allocations: 0 / 1.335 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.4206, allocations: 11.98 kB / 1.335 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4206, allocations: 0 / 1.335 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4206, allocations: 3.938 kB / 1.335 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.4211, allocations: 310.3 kB / 1.335 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.4213, allocations: 160.5 kB / 1.335 GB, free: 4.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/0.4213, allocations: 4 kB / 1.335 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.4214, allocations: 11.98 kB / 1.335 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.4215, allocations: 0 / 1.335 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.4215, allocations: 4 kB / 1.335 GB, free: 4.176 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007495/0.4223, allocations: 0.5848 MB / 1.336 GB, free: 3.598 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4223, allocations: 0 / 1.336 GB, free: 3.598 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000455/0.4227, allocations: 127.8 kB / 1.336 GB, free: 3.473 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.0004295/0.4231, allocations: 198.9 kB / 1.336 GB, free: 3.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.4235, allocations: 175.3 kB / 1.336 GB, free: 3.086 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4235, allocations: 0 / 1.336 GB, free: 3.086 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.4236, allocations: 115.4 kB / 1.336 GB, free: 2.961 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/0.4242, allocations: 132.5 kB / 1.336 GB, free: 2.832 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.426, allocations: 1.088 MB / 1.337 GB, free: 1.715 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/0.4266, allocations: 0.9742 MB / 1.338 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.517e-05/0.4267, allocations: 29.94 kB / 1.338 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.4268, allocations: 27.36 kB / 1.338 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4268, allocations: 0 / 1.338 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of Templates: time 0.01246/0.4392, allocations: 5.574 MB / 1.344 GB, free: 11.18 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/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: 9.787358005065471]