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.001749/0.001749, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00222/0.00222, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.606/1.606, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 3.011/3.011, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] 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.703e-06/1.703e-06, allocations: 0 / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.292e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004042/0.004075, allocations: 2.13 MB / 0.9835 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004241/0.008315, allocations: 2.53 MB / 0.986 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.008474, allocations: 7.938 kB / 0.986 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.01004, allocations: 493.5 kB / 0.9865 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.01046, allocations: 179 kB / 0.9867 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.01109, allocations: 204.1 kB / 0.9869 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000558/0.01165, allocations: 406 kB / 0.9872 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.01178, allocations: 25.28 kB / 0.9873 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.01204, allocations: 179.5 kB / 0.9874 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.01226, allocations: 123.6 kB / 0.9876 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.0123, allocations: 12 kB / 0.9876 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.01253, allocations: 75.81 kB / 0.9876 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.01272, allocations: 139.4 kB / 0.9878 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.01289, allocations: 103.6 kB / 0.9879 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009058/0.0138, allocations: 0.7007 MB / 0.9886 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.0138, allocations: 4 kB / 0.9886 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/0.0138, allocations: 0 / 0.9886 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.01381, allocations: 0 / 0.9886 GB, free: 4.594 MB / 0.9356 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.001434/0.01525, allocations: 0.8546 MB / 0.9894 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.01529, allocations: 12.03 kB / 0.9894 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.01541, allocations: 72.47 kB / 0.9895 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.01603, allocations: 402.1 kB / 0.9899 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.01605, allocations: 8.375 kB / 0.9899 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.01607, allocations: 4.375 kB / 0.9899 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.01637, allocations: 151.3 kB / 0.99 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.01638, allocations: 3.938 kB / 0.99 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.01639, allocations: 0 / 0.99 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.0164, allocations: 4 kB / 0.99 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.01655, allocations: 47.97 kB / 0.9901 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.01735, allocations: 460.3 kB / 0.9905 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.01779, allocations: 106.6 kB / 0.9906 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.01788, allocations: 32.84 kB / 0.9906 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.01789, allocations: 4 kB / 0.9906 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.01811, allocations: 113.1 kB / 0.9907 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.01811, allocations: 0 / 0.9907 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004739/0.01858, allocations: 209.3 kB / 0.9909 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.01865, allocations: 81.09 kB / 0.991 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.01988, allocations: 0.9384 MB / 0.9919 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.01991, allocations: 25.7 kB / 0.992 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.02025, allocations: 324 kB / 0.9923 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.02029, allocations: 19.86 kB / 0.9923 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.02034, allocations: 25.7 kB / 0.9923 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.02049, allocations: 310 kB / 0.9926 GB, free: 236 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.02058, allocations: 31.98 kB / 0.9926 GB, free: 204 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.02073, allocations: 122.8 kB / 0.9928 GB, free: 56 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.02093, allocations: 81.69 kB / 0.9928 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.02093, allocations: 0 / 0.9928 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003076/0.02124, allocations: 169.1 kB / 0.993 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.02126, allocations: 7.984 kB / 0.993 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.02126, allocations: 4 kB / 0.993 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.02128, allocations: 4.062 kB / 0.993 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.02137, allocations: 12 kB / 0.993 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.02137, allocations: 3.938 kB / 0.993 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.02151, allocations: 11.98 kB / 0.993 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.02152, allocations: 4 kB / 0.993 GB, free: 15.75 MB / 0.9512 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.0003748/0.02189, allocations: 321.5 kB / 0.9934 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.02199, allocations: 75.52 kB / 0.9934 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.0224, allocations: 188.1 kB / 0.9936 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.0224, allocations: 4 kB / 0.9936 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.02241, allocations: 4 kB / 0.9936 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.02241, allocations: 0 / 0.9936 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.02283, allocations: 337 kB / 0.9939 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.02283, allocations: 0 / 0.9939 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.623e-05/0.02289, allocations: 8 kB / 0.9939 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.02289, allocations: 0 / 0.9939 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.02291, allocations: 7.984 kB / 0.9939 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.02291, allocations: 4 kB / 0.994 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.02291, allocations: 3.938 kB / 0.994 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.02326, allocations: 208.5 kB / 0.9942 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.02337, allocations: 67.53 kB / 0.9942 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.02343, allocations: 4 kB / 0.9942 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.02356, allocations: 12.17 kB / 0.9942 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.02363, allocations: 7.984 kB / 0.9942 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.02365, allocations: 3.938 kB / 0.9942 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009/0.02455, allocations: 0.6864 MB / 0.9949 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.02455, allocations: 0 / 0.9949 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003244/0.02487, allocations: 63.92 kB / 0.995 GB, free: 13.71 MB / 0.9512 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.001805/0.02667, allocations: 445.1 kB / 0.9954 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.02693, allocations: 87.88 kB / 0.9955 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.02694, allocations: 0 / 0.9955 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.02705, allocations: 35.92 kB / 0.9955 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.02779, allocations: 176.3 kB / 0.9957 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.02961, allocations: 1.153 MB / 0.9968 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.03007, allocations: 399.6 kB / 0.9972 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.03021, allocations: 46.97 kB / 0.9972 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.03029, allocations: 28.5 kB / 0.9973 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.03029, allocations: 0 / 0.9973 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of Templates: time 0.01429/0.04459, allocations: 6.416 MB / 1.004 GB, free: 5.258 MB / 0.9512 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: 9.04373998567462]