Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001514/0.001514, allocations: 104 kB / 16.45 MB, free: 6.449 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.001567/0.001567, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.53/1.53, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.447/3.447, allocations: 0.4899 GB / 0.7915 GB, free: 33.24 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [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.002097/0.002097, allocations: 67 kB / 1.149 GB, free: 26.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003441/0.3756, allocations: 1.678 MB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002591/0.3782, allocations: 1.308 MB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3783, allocations: 0 / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.3786, allocations: 23.8 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005466/0.3792, allocations: 115.5 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.3797, allocations: 130.3 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.3801, allocations: 249.5 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3803, allocations: 19.92 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.3804, allocations: 79.83 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.3808, allocations: 103.7 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.3808, allocations: 16 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.3811, allocations: 123.9 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.3812, allocations: 91.67 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.3814, allocations: 107.3 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.382, allocations: 330.7 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.181e-05/0.382, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/0.382, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.382, allocations: 4 kB / 1.326 GB, free: 14.45 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001223/0.3832, allocations: 0.5612 MB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.3833, allocations: 15.97 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3834, allocations: 28.75 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.3838, allocations: 275 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.3839, allocations: 8.375 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.3839, allocations: 20.38 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.3844, allocations: 222.4 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3844, allocations: 0 / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.3844, allocations: 8 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3844, allocations: 4 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.3855, allocations: 0.7334 MB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.3867, allocations: 0.5745 MB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.3873, allocations: 283.6 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.3874, allocations: 93.38 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.879e-05/0.3875, allocations: 20.25 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.388, allocations: 172.9 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 2.365e-06/0.388, allocations: 4 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008079/0.3888, allocations: 369.2 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.3889, allocations: 140.5 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.3893, allocations: 313 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.3893, allocations: 33.64 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3894, allocations: 124.8 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.3895, allocations: 123 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3897, allocations: 61.69 kB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3898, allocations: 342.8 kB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.39, allocations: 79.95 kB / 1.33 GB, free: 9.633 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.3902, allocations: 131.3 kB / 1.33 GB, free: 9.492 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.3906, allocations: 221.6 kB / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3906, allocations: 0 / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005028/0.3911, allocations: 273.3 kB / 1.331 GB, free: 9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3911, allocations: 8 kB / 1.331 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3911, allocations: 0 / 1.331 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3911, allocations: 3.984 kB / 1.331 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.3914, allocations: 63.91 kB / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3914, allocations: 11.94 kB / 1.331 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.3916, allocations: 27.81 kB / 1.331 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.3916, allocations: 12 kB / 1.331 GB, free: 8.875 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001841/0.3918, allocations: 159.5 kB / 1.331 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.3918, allocations: 27.81 kB / 1.331 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007569/0.3926, allocations: 380.8 kB / 1.331 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.3926, allocations: 7.984 kB / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3926, allocations: 0 / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3926, allocations: 3.938 kB / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.393, allocations: 333.3 kB / 1.332 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.393, allocations: 4 kB / 1.332 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.3932, allocations: 59.91 kB / 1.332 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.3932, allocations: 4 kB / 1.332 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.3932, allocations: 8 kB / 1.332 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3932, allocations: 3.984 kB / 1.332 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3932, allocations: 0 / 1.332 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005474/0.3938, allocations: 323.2 kB / 1.332 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.3939, allocations: 140.8 kB / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.394, allocations: 16 kB / 1.332 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.3941, allocations: 15.98 kB / 1.332 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.3942, allocations: 28 kB / 1.332 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.3942, allocations: 19.92 kB / 1.332 GB, free: 7.273 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002463/0.3945, allocations: 240.4 kB / 1.332 GB, free: 7.039 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3945, allocations: 4 kB / 1.332 GB, free: 7.035 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003636/0.3949, allocations: 75.86 kB / 1.332 GB, free: 6.961 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001745/0.3966, allocations: 456.9 kB / 1.333 GB, free: 6.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004722/0.3971, allocations: 219.9 kB / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3971, allocations: 0 / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.3973, allocations: 119.8 kB / 1.333 GB, free: 6.336 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3976, allocations: 38.81 kB / 1.333 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.3986, allocations: 0.5228 MB / 1.334 GB, free: 5.758 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.399, allocations: 0.7535 MB / 1.334 GB, free: 4.973 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003372/0.3993, allocations: 154.8 kB / 1.335 GB, free: 4.824 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.3994, allocations: 47.41 kB / 1.335 GB, free: 4.777 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.3994, allocations: 0 / 1.335 GB, free: 4.777 MB / 1.029 GB Notification: Performance of Templates: time 0.008368/0.4078, allocations: 3.465 MB / 1.338 GB, free: 1.328 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.702357739210129]