Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 106.9 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 193.3 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.616/2.616, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 71.27 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3079, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004144/0.3121, allocations: 2.209 MB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00373/0.3159, allocations: 2.601 MB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.3161, allocations: 3.938 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.3177, allocations: 0.5333 MB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.3181, allocations: 107.5 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007235/0.3189, allocations: 219 kB / 1.07 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006092/0.3195, allocations: 401.1 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.3196, allocations: 77.06 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.3199, allocations: 131.3 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.3201, allocations: 159.2 kB / 1.07 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.3202, allocations: 8 kB / 1.07 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.3204, allocations: 59.97 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.3205, allocations: 139.4 kB / 1.071 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.3208, allocations: 222.4 kB / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006924/0.3215, allocations: 0.5923 MB / 1.071 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3215, allocations: 0 / 1.071 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3215, allocations: 0 / 1.071 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.3215, allocations: 0 / 1.071 GB, free: 7.609 MB / 0.8419 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.001497/0.323, allocations: 0.9028 MB / 1.072 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3231, allocations: 8.625 kB / 1.072 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.3232, allocations: 68.09 kB / 1.072 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.3239, allocations: 459.9 kB / 1.073 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3239, allocations: 4.375 kB / 1.073 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.3239, allocations: 12.12 kB / 1.073 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.3242, allocations: 92.22 kB / 1.073 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.3242, allocations: 0 / 1.073 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3242, allocations: 8 kB / 1.073 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3242, allocations: 0 / 1.073 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.3244, allocations: 43.91 kB / 1.073 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008846/0.3252, allocations: 0.524 MB / 1.073 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.3257, allocations: 98.69 kB / 1.074 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.3258, allocations: 32.84 kB / 1.074 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.3258, allocations: 7.938 kB / 1.074 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.326, allocations: 91.36 kB / 1.074 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.326, allocations: 0 / 1.074 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.000438/0.3265, allocations: 192.7 kB / 1.074 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.3265, allocations: 110.8 kB / 1.074 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.3277, allocations: 0.9187 MB / 1.075 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.3278, allocations: 29.7 kB / 1.075 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.3281, allocations: 316 kB / 1.075 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.3281, allocations: 23.73 kB / 1.075 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.3282, allocations: 21.72 kB / 1.075 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3283, allocations: 321.9 kB / 1.076 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.3284, allocations: 23.98 kB / 1.076 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.3285, allocations: 76.27 kB / 1.076 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3287, allocations: 73.64 kB / 1.076 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3287, allocations: 0 / 1.076 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002891/0.329, allocations: 164.7 kB / 1.076 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.329, allocations: 7.938 kB / 1.076 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.329, allocations: 3.984 kB / 1.076 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.329, allocations: 4 kB / 1.076 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.3291, allocations: 12 kB / 1.076 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3291, allocations: 0 / 1.076 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.3293, allocations: 19.95 kB / 1.076 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3293, allocations: 0 / 1.076 GB, free: 2.703 MB / 0.8419 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.0003364/0.3296, allocations: 323.5 kB / 1.076 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-05/0.3297, allocations: 67.16 kB / 1.076 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.3298, allocations: 78.41 kB / 1.076 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3298, allocations: 4 kB / 1.076 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3298, allocations: 0 / 1.076 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3299, allocations: 3.938 kB / 1.076 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.3303, allocations: 393.4 kB / 1.077 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3303, allocations: 4 kB / 1.077 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.3303, allocations: 15.92 kB / 1.077 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3303, allocations: 0 / 1.077 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.3304, allocations: 0 / 1.077 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3304, allocations: 0 / 1.077 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3304, allocations: 0 / 1.077 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3307, allocations: 204.7 kB / 1.077 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.3308, allocations: 144.2 kB / 1.077 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.3309, allocations: 11.94 kB / 1.077 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.331, allocations: 0 / 1.077 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.3311, allocations: 11.98 kB / 1.077 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.3311, allocations: 11.88 kB / 1.077 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008191/0.3319, allocations: 0.6785 MB / 1.078 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3319, allocations: 0 / 1.078 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002955/0.3322, allocations: 60 kB / 1.078 GB, free: 0.625 MB / 0.8419 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.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.001488/0.3337, allocations: 433.7 kB / 1.078 GB, free: 360 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.334, allocations: 71.89 kB / 1.078 GB, free: 288 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.334, allocations: 0 / 1.078 GB, free: 288 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.3341, allocations: 39.92 kB / 1.078 GB, free: 248 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.3348, allocations: 162.8 kB / 1.079 GB, free: 92 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4451/0.7799, allocations: 1.322 MB / 1.08 GB, free: 22.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.7805, allocations: 0.9964 MB / 1.081 GB, free: 21.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.929e-05/0.7806, allocations: 28.48 kB / 1.081 GB, free: 21.33 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.7806, allocations: 0.5625 kB / 1.081 GB, free: 21.33 MB / 0.8419 GB Notification: Performance of Templates: time 0.0139/0.7946, allocations: 7.127 MB / 1.088 GB, free: 20.74 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches