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.001748/0.001748, allocations: 78.72 kB / 19.76 MB, free: 2.031 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.002167/0.002167, allocations: 158.1 kB / 23.01 MB, free: 4.941 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.494/1.494, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.849/2.849, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 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.002124/0.002124, allocations: 67.91 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.111, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003606/1.115, allocations: 2.027 MB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002897/1.118, allocations: 2.355 MB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/1.118, allocations: 2.469 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/1.119, allocations: 455.2 kB / 1.159 GB, free: 30.25 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/1.119, allocations: 80.09 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/1.12, allocations: 280.1 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003781/1.12, allocations: 315.1 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/1.121, allocations: 48.33 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/1.121, allocations: 115.7 kB / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/1.121, allocations: 133.4 kB / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/1.121, allocations: 9.062 kB / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004674/1.121, allocations: 336.6 kB / 1.16 GB, free: 29.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.543e-05/1.122, allocations: 102.4 kB / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/1.122, allocations: 141.3 kB / 1.16 GB, free: 29.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007159/1.122, allocations: 0.8439 MB / 1.161 GB, free: 29.36 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.122, allocations: 0 / 1.161 GB, free: 29.36 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/1.122, allocations: 0 / 1.161 GB, free: 29.36 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.122, allocations: 0 / 1.161 GB, free: 29.36 MB / 1.076 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.0009557/1.123, allocations: 0.8189 MB / 1.162 GB, free: 28.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.123, allocations: 9.281 kB / 1.162 GB, free: 28.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.574e-05/1.123, allocations: 67.7 kB / 1.162 GB, free: 28.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/1.124, allocations: 340.3 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/1.124, allocations: 7.344 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/1.124, allocations: 6.188 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/1.124, allocations: 169.6 kB / 1.162 GB, free: 28.3 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.124, allocations: 0 / 1.162 GB, free: 28.3 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/1.124, allocations: 4 kB / 1.162 GB, free: 28.3 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.124, allocations: 2.969 kB / 1.162 GB, free: 28.3 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/1.124, allocations: 131.2 kB / 1.162 GB, free: 28.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/1.125, allocations: 469.7 kB / 1.163 GB, free: 27.95 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/1.125, allocations: 123.2 kB / 1.163 GB, free: 27.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/1.125, allocations: 84.7 kB / 1.163 GB, free: 27.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/1.125, allocations: 5.062 kB / 1.163 GB, free: 27.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/1.126, allocations: 174.9 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.562e-06/1.126, allocations: 0 / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0004894/1.126, allocations: 365 kB / 1.164 GB, free: 27.47 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/1.126, allocations: 87.38 kB / 1.164 GB, free: 27.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007628/1.127, allocations: 0.7562 MB / 1.164 GB, free: 27.08 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/1.127, allocations: 36.23 kB / 1.165 GB, free: 27.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/1.127, allocations: 299.4 kB / 1.165 GB, free: 26.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/1.127, allocations: 25.64 kB / 1.165 GB, free: 26.78 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/1.127, allocations: 25.7 kB / 1.165 GB, free: 26.76 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/1.127, allocations: 316.3 kB / 1.165 GB, free: 26.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/1.127, allocations: 73.91 kB / 1.165 GB, free: 26.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/1.127, allocations: 83.69 kB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/1.127, allocations: 161.5 kB / 1.165 GB, free: 26.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.127, allocations: 2.5 kB / 1.165 GB, free: 26.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002828/1.128, allocations: 304 kB / 1.166 GB, free: 26.08 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/1.128, allocations: 44.75 kB / 1.166 GB, free: 26.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.128, allocations: 4.062 kB / 1.166 GB, free: 26.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.128, allocations: 2.562 kB / 1.166 GB, free: 26.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/1.128, allocations: 14.97 kB / 1.166 GB, free: 26.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.128, allocations: 0 / 1.166 GB, free: 26.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/1.128, allocations: 9.422 kB / 1.166 GB, free: 26.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/1.128, allocations: 6.688 kB / 1.166 GB, free: 26.03 MB / 1.076 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.0002507/1.128, allocations: 344.8 kB / 1.166 GB, free: 25.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/1.128, allocations: 69.33 kB / 1.166 GB, free: 25.78 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/1.129, allocations: 332.4 kB / 1.167 GB, free: 25.6 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.129, allocations: 2.656 kB / 1.167 GB, free: 25.6 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.129, allocations: 0 / 1.167 GB, free: 25.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/1.129, allocations: 0 / 1.167 GB, free: 25.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/1.129, allocations: 307.2 kB / 1.167 GB, free: 25.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.129, allocations: 3.188 kB / 1.167 GB, free: 25.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/1.129, allocations: 5.625 kB / 1.167 GB, free: 25.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.129, allocations: 4 kB / 1.167 GB, free: 25.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/1.129, allocations: 6.75 kB / 1.167 GB, free: 25.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.129, allocations: 6.844 kB / 1.167 GB, free: 25.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.129, allocations: 3.938 kB / 1.167 GB, free: 25.4 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/1.129, allocations: 340.5 kB / 1.167 GB, free: 25.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.937e-05/1.129, allocations: 68.03 kB / 1.167 GB, free: 25.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/1.129, allocations: 10.56 kB / 1.167 GB, free: 25.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/1.13, allocations: 5.859 kB / 1.167 GB, free: 25.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/1.13, allocations: 5.25 kB / 1.167 GB, free: 25.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/1.13, allocations: 9.859 kB / 1.167 GB, free: 25.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005228/1.13, allocations: 0.5585 MB / 1.168 GB, free: 24.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/1.13, allocations: 6.562 kB / 1.168 GB, free: 24.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004059/1.131, allocations: 127.2 kB / 1.168 GB, free: 24.9 MB / 1.076 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.000303/1.131, allocations: 187.5 kB / 1.168 GB, free: 24.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002753/1.131, allocations: 249.1 kB / 1.168 GB, free: 24.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.131, allocations: 0 / 1.168 GB, free: 24.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/1.131, allocations: 147.5 kB / 1.168 GB, free: 24.51 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/1.132, allocations: 127 kB / 1.169 GB, free: 24.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/1.133, allocations: 1.124 MB / 1.17 GB, free: 23.9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/1.133, allocations: 373.4 kB / 1.17 GB, free: 23.76 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.021e-05/1.134, allocations: 20 kB / 1.17 GB, free: 23.76 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/1.134, allocations: 17.91 kB / 1.17 GB, free: 23.75 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/1.134, allocations: 0 / 1.17 GB, free: 23.75 MB / 1.076 GB Notification: Performance of Templates: time 0.01304/1.147, allocations: 5.637 MB / 1.176 GB, free: 23.09 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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.638034312985837]