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.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.001754/0.001754, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001878/0.001878, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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 1.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.789/2.789, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.425e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004488/0.004522, allocations: 2.141 MB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004642/0.009164, allocations: 2.526 MB / 0.791 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.009331, allocations: 7.938 kB / 0.791 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.01114, allocations: 0.4939 MB / 0.7915 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006039/0.01174, allocations: 163.6 kB / 0.7916 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008011/0.01254, allocations: 209.9 kB / 0.7918 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007168/0.01326, allocations: 403.8 kB / 0.7922 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.01342, allocations: 29.27 kB / 0.7922 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.01385, allocations: 179.5 kB / 0.7924 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.01417, allocations: 124.8 kB / 0.7925 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.01422, allocations: 8 kB / 0.7925 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.01447, allocations: 71.81 kB / 0.7926 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.01471, allocations: 140.6 kB / 0.7927 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.0149, allocations: 111.5 kB / 0.7928 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.01594, allocations: 0.6968 MB / 0.7935 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.01594, allocations: 1.75 kB / 0.7935 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.933e-06/0.01595, allocations: 0 / 0.7935 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.01597, allocations: 0 / 0.7935 GB, free: 5.496 MB / 0.7448 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.00197/0.01794, allocations: 0.8585 MB / 0.7944 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.01798, allocations: 10 kB / 0.7944 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.01819, allocations: 76.47 kB / 0.7944 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007486/0.01894, allocations: 410.1 kB / 0.7948 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.01896, allocations: 384 / 0.7948 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.01897, allocations: 4.375 kB / 0.7948 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.0193, allocations: 148.1 kB / 0.795 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.01932, allocations: 7.375 kB / 0.795 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.01933, allocations: 0 / 0.795 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.01934, allocations: 4 kB / 0.795 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.01951, allocations: 47.91 kB / 0.795 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.02058, allocations: 456.3 kB / 0.7955 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.02106, allocations: 106.6 kB / 0.7956 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.598e-05/0.02115, allocations: 32.84 kB / 0.7956 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.02118, allocations: 4.625 kB / 0.7956 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.02144, allocations: 117 kB / 0.7957 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.02144, allocations: 0.5 kB / 0.7957 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000584/0.02203, allocations: 210.8 kB / 0.7959 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.02211, allocations: 77.11 kB / 0.796 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.02358, allocations: 0.9267 MB / 0.7969 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.02361, allocations: 33.64 kB / 0.7969 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.02396, allocations: 325.8 kB / 0.7972 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.024, allocations: 19.86 kB / 0.7973 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.02406, allocations: 25.7 kB / 0.7973 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.02425, allocations: 310 kB / 0.7976 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.02435, allocations: 28.8 kB / 0.7976 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.02451, allocations: 122.8 kB / 0.7977 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.02469, allocations: 78.38 kB / 0.7978 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.0247, allocations: 0.9375 kB / 0.7978 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003502/0.02505, allocations: 181.1 kB / 0.798 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.02507, allocations: 5.344 kB / 0.798 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.02507, allocations: 4 kB / 0.798 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.0251, allocations: 0 / 0.798 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.573e-05/0.02519, allocations: 16.8 kB / 0.798 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.0252, allocations: 0 / 0.798 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.02535, allocations: 6.5 kB / 0.798 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.02536, allocations: 7.984 kB / 0.798 GB, free: 0.668 MB / 0.7448 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.0003929/0.02575, allocations: 325.6 kB / 0.7983 GB, free: 348 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.02587, allocations: 71.53 kB / 0.7984 GB, free: 276 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.02632, allocations: 200.4 kB / 0.7986 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.02632, allocations: 0 / 0.7986 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.02633, allocations: 2.844 kB / 0.7986 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.02633, allocations: 0 / 0.7986 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.02683, allocations: 344.9 kB / 0.7989 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.02683, allocations: 0 / 0.7989 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.02689, allocations: 8 kB / 0.7989 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.02689, allocations: 3.984 kB / 0.7989 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.02691, allocations: 0 / 0.7989 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.02691, allocations: 0 / 0.7989 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.02691, allocations: 0.9375 kB / 0.7989 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.02731, allocations: 216.5 kB / 0.7991 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.02744, allocations: 68.66 kB / 0.7992 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.02749, allocations: 7.938 kB / 0.7992 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.02762, allocations: 7.984 kB / 0.7992 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.02769, allocations: 9.047 kB / 0.7992 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.02771, allocations: 4 kB / 0.7992 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009829/0.0287, allocations: 0.6864 MB / 0.7999 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.0287, allocations: 1.094 kB / 0.7999 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000321/0.02902, allocations: 59.94 kB / 0.8 GB, free: 14.62 MB / 0.7605 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.002168/0.03119, allocations: 453 kB / 0.8004 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.03146, allocations: 71.89 kB / 0.8005 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.03147, allocations: 8 kB / 0.8005 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.03157, allocations: 31.98 kB / 0.8005 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008451/0.03241, allocations: 184.9 kB / 0.8007 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.03448, allocations: 1.178 MB / 0.8018 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.03497, allocations: 395.7 kB / 0.8022 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.03515, allocations: 55.25 kB / 0.8023 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-05/0.03524, allocations: 28.5 kB / 0.8023 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of SimCode: time 7.32e-07/0.03524, allocations: 3.938 kB / 0.8023 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of Templates: time 0.01489/0.05013, allocations: 6.422 MB / 0.8086 GB, free: 6.117 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.355740175931714]