Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.001437/0.001437, 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.001488/0.001488, allocations: 215.6 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.374/3.374, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 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.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [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.0021/0.0021, allocations: 68.88 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3219, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003939/0.3259, allocations: 2.117 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003909/0.3298, allocations: 2.531 MB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.3299, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.3313, allocations: 0.4938 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004225/0.3317, allocations: 167.2 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.3323, allocations: 202.2 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005206/0.3328, allocations: 397 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.3329, allocations: 25.28 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.3331, allocations: 135.4 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.3334, allocations: 155.2 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.3334, allocations: 8 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.3336, allocations: 71.88 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.3338, allocations: 139.4 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.334, allocations: 150.8 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008817/0.3349, allocations: 0.7351 MB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3349, allocations: 3.938 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3349, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3349, allocations: 0 / 1.333 GB, free: 10.52 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001412/0.3363, allocations: 0.8624 MB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3363, allocations: 16.03 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.3365, allocations: 72.47 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.3371, allocations: 402.9 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3371, allocations: 4.375 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3371, allocations: 4.125 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.3374, allocations: 146.8 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3374, allocations: 0 / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3374, allocations: 0 / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3374, allocations: 0 / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.3375, allocations: 51.84 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.3383, allocations: 472.2 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.3387, allocations: 110.6 kB / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.298e-05/0.3388, allocations: 32.84 kB / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.3388, allocations: 0 / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.339, allocations: 113.1 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.339, allocations: 0 / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004593/0.3395, allocations: 217.1 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.3395, allocations: 77.11 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.3407, allocations: 0.9306 MB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.3408, allocations: 29.7 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.3411, allocations: 320 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.3411, allocations: 23.83 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.3412, allocations: 21.72 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3413, allocations: 321.9 kB / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.028e-05/0.3414, allocations: 27.98 kB / 1.338 GB, free: 6.102 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.3416, allocations: 118.8 kB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3417, allocations: 69.64 kB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3417, allocations: 4.031 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002873/0.342, allocations: 177.2 kB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.342, allocations: 7.938 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.342, allocations: 0 / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3421, allocations: 4 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.3421, allocations: 19.98 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3422, allocations: 0 / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3423, allocations: 7.953 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.3423, allocations: 0 / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0003602/0.3426, allocations: 331.5 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.3427, allocations: 71.53 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.3431, allocations: 192 kB / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3431, allocations: 0 / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3431, allocations: 7.938 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3431, allocations: 3.984 kB / 1.339 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.3435, allocations: 333 kB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3435, allocations: 0 / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.3436, allocations: 8 kB / 1.339 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.3436, allocations: 3.984 kB / 1.339 GB, free: 4.684 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3436, allocations: 8 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3436, allocations: 4.188 kB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3436, allocations: 0 / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.3439, allocations: 216.4 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3441, allocations: 59.53 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.3441, allocations: 11.98 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3442, allocations: 0 / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.3443, allocations: 11.98 kB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3443, allocations: 4 kB / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008905/0.3452, allocations: 0.6864 MB / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3452, allocations: 4 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003103/0.3455, allocations: 67.88 kB / 1.34 GB, free: 3.602 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00176/0.3473, allocations: 452.8 kB / 1.34 GB, free: 3.336 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.3475, allocations: 75.84 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3475, allocations: 0 / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3476, allocations: 39.97 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/0.3484, allocations: 167 kB / 1.341 GB, free: 3.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.3502, allocations: 1.227 MB / 1.342 GB, free: 1.805 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.3507, allocations: 391.7 kB / 1.342 GB, free: 1.395 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.3508, allocations: 27.44 kB / 1.342 GB, free: 1.367 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/0.3508, allocations: 0 / 1.342 GB, free: 1.367 MB / 1.029 GB Notification: Performance of Templates: time 0.01169/0.3625, allocations: 7.505 MB / 1.35 GB, free: 9.926 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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: 13.23164630588144]