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.0008178/0.0008178, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008285/0.0008285, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8729/0.8729, allocations: 177.2 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.727/1.727, allocations: 377.9 MB / 0.6228 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.9822 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.533e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003935/0.003971, allocations: 2.128 MB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003506/0.007477, allocations: 2.542 MB / 0.9868 GB, free: 13.32 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.007709, allocations: 4 kB / 0.9868 GB, free: 13.32 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.009261, allocations: 0.4936 MB / 0.9873 GB, free: 12.82 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.009764, allocations: 163 kB / 0.9874 GB, free: 12.66 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.01043, allocations: 205.2 kB / 0.9876 GB, free: 12.46 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000516/0.01095, allocations: 398 kB / 0.988 GB, free: 12.07 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.0111, allocations: 33.25 kB / 0.988 GB, free: 12.04 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.01135, allocations: 183.5 kB / 0.9882 GB, free: 11.86 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.01156, allocations: 123.6 kB / 0.9883 GB, free: 11.73 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.0116, allocations: 8 kB / 0.9883 GB, free: 11.73 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.01182, allocations: 75.81 kB / 0.9884 GB, free: 11.65 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.01199, allocations: 131.5 kB / 0.9885 GB, free: 11.52 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.01213, allocations: 111.5 kB / 0.9886 GB, free: 11.41 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008463/0.01297, allocations: 0.7007 MB / 0.9893 GB, free: 10.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01298, allocations: 3.938 kB / 0.9893 GB, free: 10.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.764e-06/0.01298, allocations: 0 / 0.9893 GB, free: 10.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.01299, allocations: 0 / 0.9893 GB, free: 10.71 MB / 0.948 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.001364/0.01435, allocations: 0.8546 MB / 0.9902 GB, free: 9.812 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.0144, allocations: 8.031 kB / 0.9902 GB, free: 9.805 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.0145, allocations: 76.45 kB / 0.9902 GB, free: 9.73 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.01495, allocations: 398.2 kB / 0.9906 GB, free: 9.312 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.01498, allocations: 16.31 kB / 0.9906 GB, free: 9.297 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.01499, allocations: 8.312 kB / 0.9906 GB, free: 9.289 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.01521, allocations: 139.3 kB / 0.9908 GB, free: 9.129 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.01523, allocations: 3.938 kB / 0.9908 GB, free: 9.125 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.01524, allocations: 7.984 kB / 0.9908 GB, free: 9.117 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.01525, allocations: 0 / 0.9908 GB, free: 9.117 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.76e-05/0.01534, allocations: 47.91 kB / 0.9908 GB, free: 9.07 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.0159, allocations: 460.3 kB / 0.9913 GB, free: 8.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.01619, allocations: 102.6 kB / 0.9914 GB, free: 8.48 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.01624, allocations: 44.86 kB / 0.9914 GB, free: 8.434 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.01626, allocations: 4 kB / 0.9914 GB, free: 8.43 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.0164, allocations: 109.1 kB / 0.9915 GB, free: 8.305 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.01641, allocations: 0 / 0.9915 GB, free: 8.305 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0003078/0.01671, allocations: 197.2 kB / 0.9917 GB, free: 8.105 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.01676, allocations: 81.11 kB / 0.9918 GB, free: 8.008 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000751/0.01751, allocations: 0.9344 MB / 0.9927 GB, free: 7.066 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.01753, allocations: 29.7 kB / 0.9927 GB, free: 7.031 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.01772, allocations: 320 kB / 0.993 GB, free: 6.715 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.01775, allocations: 27.84 kB / 0.9931 GB, free: 6.688 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.01778, allocations: 25.72 kB / 0.9931 GB, free: 6.656 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.01787, allocations: 310 kB / 0.9934 GB, free: 6.348 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.01792, allocations: 27.98 kB / 0.9934 GB, free: 6.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.01801, allocations: 122.8 kB / 0.9935 GB, free: 6.176 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.943e-05/0.01811, allocations: 85.88 kB / 0.9936 GB, free: 6.086 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01811, allocations: 0 / 0.9936 GB, free: 6.086 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001684/0.01828, allocations: 173.2 kB / 0.9938 GB, free: 5.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01829, allocations: 12.06 kB / 0.9938 GB, free: 5.898 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.0183, allocations: 0 / 0.9938 GB, free: 5.898 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01831, allocations: 0 / 0.9938 GB, free: 5.898 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.01837, allocations: 19.92 kB / 0.9938 GB, free: 5.879 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01837, allocations: 0 / 0.9938 GB, free: 5.879 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.01845, allocations: 4 kB / 0.9938 GB, free: 5.875 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.01846, allocations: 11.94 kB / 0.9938 GB, free: 5.863 MB / 0.948 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.0002261/0.01868, allocations: 323.6 kB / 0.9941 GB, free: 5.539 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.01873, allocations: 75.53 kB / 0.9942 GB, free: 5.465 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.01899, allocations: 192.1 kB / 0.9944 GB, free: 5.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.01899, allocations: 0 / 0.9944 GB, free: 5.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.01899, allocations: 0 / 0.9944 GB, free: 5.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.019, allocations: 7.922 kB / 0.9944 GB, free: 5.262 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.01925, allocations: 341 kB / 0.9947 GB, free: 4.898 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01925, allocations: 0 / 0.9947 GB, free: 4.898 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.01928, allocations: 11.98 kB / 0.9947 GB, free: 4.887 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01928, allocations: 0 / 0.9947 GB, free: 4.887 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.01929, allocations: 0 / 0.9947 GB, free: 4.887 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01929, allocations: 0 / 0.9947 GB, free: 4.887 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01929, allocations: 0 / 0.9947 GB, free: 4.887 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.01948, allocations: 212.6 kB / 0.9949 GB, free: 4.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.01954, allocations: 67.52 kB / 0.995 GB, free: 4.594 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.01957, allocations: 0 / 0.995 GB, free: 4.594 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.464e-05/0.01963, allocations: 4 kB / 0.995 GB, free: 4.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.01968, allocations: 11.98 kB / 0.995 GB, free: 4.578 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.0197, allocations: 7.984 kB / 0.995 GB, free: 4.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005183/0.02022, allocations: 0.6902 MB / 0.9957 GB, free: 3.883 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.2e-07/0.02022, allocations: 0 / 0.9957 GB, free: 3.883 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002074/0.02042, allocations: 59.94 kB / 0.9957 GB, free: 3.824 MB / 0.948 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.0007938/0.02122, allocations: 461.9 kB / 0.9962 GB, free: 3.547 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.02139, allocations: 71.95 kB / 0.9963 GB, free: 3.477 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02139, allocations: 0 / 0.9963 GB, free: 3.477 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.02145, allocations: 39.92 kB / 0.9963 GB, free: 3.438 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.02187, allocations: 168.6 kB / 0.9965 GB, free: 3.281 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.02307, allocations: 1.218 MB / 0.9976 GB, free: 2.023 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.02333, allocations: 399.7 kB / 0.998 GB, free: 1.605 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.02338, allocations: 32.48 kB / 0.9981 GB, free: 1.574 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/0.02338, allocations: 0 / 0.9981 GB, free: 1.574 MB / 0.948 GB Notification: Performance of Templates: time 0.007681/0.03106, allocations: 7.495 MB / 1.005 GB, free: 10.15 MB / 0.9636 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/jenkins/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: 7.783735698089004]