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.001965/0.001965, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002378/0.002378, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.649/1.649, 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.378/3.378, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.002054/0.002054, allocations: 71.42 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4225, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003917/0.4264, allocations: 2.023 MB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003672/0.4301, allocations: 2.363 MB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.4302, allocations: 7.938 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.4316, allocations: 461.9 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.4317, allocations: 67.59 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009173/0.4326, allocations: 282.4 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005118/0.4331, allocations: 326.3 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.4333, allocations: 45.2 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.4335, allocations: 111.5 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.4337, allocations: 143.2 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.4338, allocations: 8 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006382/0.4344, allocations: 347.5 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.4345, allocations: 111.5 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.4347, allocations: 146.8 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.4358, allocations: 0.8366 MB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4358, allocations: 0 / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4358, allocations: 4 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.4358, allocations: 0 / 1.334 GB, free: 9.656 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.001284/0.4371, allocations: 0.8197 MB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4371, allocations: 8.031 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.4372, allocations: 72.5 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.4378, allocations: 327.2 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4378, allocations: 8.312 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.4378, allocations: 20.31 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.4381, allocations: 159.6 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4381, allocations: 0 / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.4382, allocations: 0 / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4382, allocations: 4 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.4384, allocations: 129.6 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007992/0.4392, allocations: 468.1 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.4394, allocations: 128.3 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.4395, allocations: 86.62 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/0.4395, allocations: 7.984 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.4398, allocations: 170.9 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.4398, allocations: 0 / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005906/0.4403, allocations: 370.2 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.4404, allocations: 85.05 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.4414, allocations: 0.7543 MB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4415, allocations: 29.7 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.4418, allocations: 303.9 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.4418, allocations: 19.8 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.4418, allocations: 33.64 kB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.442, allocations: 310 kB / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.4421, allocations: 81.67 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.692e-05/0.4422, allocations: 81.67 kB / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.4424, allocations: 160.7 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4424, allocations: 0 / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004069/0.4428, allocations: 316.4 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.995e-05/0.4429, allocations: 45.56 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.4429, allocations: 0 / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4429, allocations: 0 / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.443, allocations: 8 kB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.443, allocations: 0 / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.4431, allocations: 11.95 kB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.4431, allocations: 12 kB / 1.339 GB, free: 4.406 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.0003533/0.4435, allocations: 336.8 kB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.4435, allocations: 67.52 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/0.4441, allocations: 330.5 kB / 1.34 GB, free: 3.648 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4441, allocations: 0 / 1.34 GB, free: 3.648 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4441, allocations: 4.125 kB / 1.34 GB, free: 3.645 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4441, allocations: 3.984 kB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.4445, allocations: 305.1 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4445, allocations: 0 / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.975e-05/0.4445, allocations: 4 kB / 1.34 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4445, allocations: 8 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.4445, allocations: 11.92 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4446, allocations: 0 / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4446, allocations: 4 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.445, allocations: 344 kB / 1.34 GB, free: 2.918 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.4451, allocations: 67.5 kB / 1.34 GB, free: 2.852 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.4452, allocations: 7.938 kB / 1.34 GB, free: 2.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.4453, allocations: 11.98 kB / 1.34 GB, free: 2.832 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.4453, allocations: 7.938 kB / 1.34 GB, free: 2.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.4454, allocations: 7.984 kB / 1.34 GB, free: 2.816 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006812/0.446, allocations: 0.5614 MB / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.446, allocations: 0 / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004857/0.4465, allocations: 127.8 kB / 1.341 GB, free: 2.137 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.0004078/0.4469, allocations: 187 kB / 1.341 GB, free: 1.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003839/0.4473, allocations: 242.7 kB / 1.342 GB, free: 1.684 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4473, allocations: 0 / 1.342 GB, free: 1.684 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.4475, allocations: 157 kB / 1.342 GB, free: 1.512 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.4481, allocations: 121.4 kB / 1.342 GB, free: 1.391 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.4498, allocations: 1.121 MB / 1.343 GB, free: 240 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.4503, allocations: 378.6 kB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.68e-05/0.4504, allocations: 13.97 kB / 1.343 GB, free: 15.82 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.4504, allocations: 15.44 kB / 1.343 GB, free: 15.81 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.4504, allocations: 0 / 1.343 GB, free: 15.81 MB / 1.045 GB Notification: Performance of Templates: time 0.01305/0.4635, allocations: 6.339 MB / 1.349 GB, free: 9.594 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 -s gbode -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: 9.733369120003772]