Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001829/0.001829, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002224/0.002224, allocations: 198.7 kB / 22.17 MB, free: 5.211 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.441/1.441, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.807/2.807, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 71.88 kB / 1.109 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8294, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004097/0.8335, allocations: 2.08 MB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004957/0.8385, allocations: 2.616 MB / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.8388, allocations: 3.938 kB / 1.279 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.8406, allocations: 0.5198 MB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.8408, allocations: 71.59 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.8419, allocations: 279 kB / 1.28 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000593/0.8425, allocations: 326.3 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.8426, allocations: 49.03 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.8428, allocations: 107.4 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.8431, allocations: 143.2 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.8431, allocations: 8 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005879/0.8437, allocations: 327.5 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.8438, allocations: 107.5 kB / 1.281 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.844, allocations: 214.5 kB / 1.281 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.8451, allocations: 0.8327 MB / 1.282 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.8451, allocations: 0 / 1.282 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8451, allocations: 0 / 1.282 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.8451, allocations: 0 / 1.282 GB, free: 12.86 MB / 0.9825 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.001244/0.8464, allocations: 0.8873 MB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.8464, allocations: 8.031 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.8465, allocations: 72.47 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.8471, allocations: 389 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.8471, allocations: 8.375 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.8472, allocations: 8.375 kB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.8474, allocations: 141.8 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.8474, allocations: 0 / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.8474, allocations: 0 / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.8475, allocations: 4 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.8476, allocations: 103.9 kB / 1.283 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008913/0.8485, allocations: 0.5394 MB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.8487, allocations: 102.5 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.983e-05/0.8488, allocations: 56.97 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.8489, allocations: 4.188 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.8491, allocations: 133 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.8491, allocations: 0 / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005458/0.8496, allocations: 310.9 kB / 1.284 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.8497, allocations: 89.09 kB / 1.284 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009815/0.8507, allocations: 0.7934 MB / 1.285 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.8507, allocations: 25.7 kB / 1.285 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.851, allocations: 296.2 kB / 1.285 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.851, allocations: 19.81 kB / 1.285 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.8511, allocations: 33.7 kB / 1.285 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.8512, allocations: 306 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.8513, allocations: 51.91 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.8514, allocations: 48.31 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.8515, allocations: 160.3 kB / 1.286 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.8515, allocations: 0 / 1.286 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003632/0.8519, allocations: 278.7 kB / 1.286 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.852, allocations: 39.09 kB / 1.286 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.852, allocations: 0 / 1.286 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.852, allocations: 0 / 1.286 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.8521, allocations: 8 kB / 1.286 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.8521, allocations: 0 / 1.286 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.8522, allocations: 15.89 kB / 1.286 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.8522, allocations: 11.98 kB / 1.286 GB, free: 7.695 MB / 0.9825 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.0003656/0.8526, allocations: 331.4 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.8527, allocations: 71.52 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.8531, allocations: 308.9 kB / 1.287 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.8532, allocations: 0 / 1.287 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8532, allocations: 0 / 1.287 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.8532, allocations: 0 / 1.287 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.8536, allocations: 377.4 kB / 1.287 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.8536, allocations: 11.86 kB / 1.287 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.8537, allocations: 20.11 kB / 1.287 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.8537, allocations: 0 / 1.287 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.8537, allocations: 4 kB / 1.287 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8537, allocations: 0 / 1.287 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8537, allocations: 0 / 1.287 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.8541, allocations: 314.3 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.8543, allocations: 152.5 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.8544, allocations: 4 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.8545, allocations: 11.98 kB / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.8545, allocations: 4 kB / 1.288 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.8545, allocations: 8 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007398/0.8553, allocations: 0.5809 MB / 1.288 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8553, allocations: 0 / 1.288 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004489/0.8557, allocations: 123.9 kB / 1.289 GB, free: 5.285 MB / 0.9825 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.0004601/0.8562, allocations: 199.5 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003136/0.8565, allocations: 175.3 kB / 1.289 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8565, allocations: 4 kB / 1.289 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.8567, allocations: 119.3 kB / 1.289 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.8572, allocations: 135.2 kB / 1.289 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.859, allocations: 1.094 MB / 1.29 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007793/0.8598, allocations: 0.9743 MB / 1.291 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.8599, allocations: 29.95 kB / 1.291 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.86, allocations: 15.44 kB / 1.291 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.86, allocations: 0 / 1.291 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of Templates: time 0.0129/0.8729, allocations: 5.6 MB / 1.297 GB, free: 12.97 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.859010362997651]