Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001444/0.001444, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.00158/0.00158, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.437/1.437, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.915/2.915, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002109/0.002109, allocations: 69.92 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9859/0.988, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002699/0.9907, allocations: 1.661 MB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.9924, allocations: 1.363 MB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.724e-05/0.9925, allocations: 1.281 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.9927, allocations: 30.42 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.9931, allocations: 115.5 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.9934, allocations: 131.5 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.9937, allocations: 250.6 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.9938, allocations: 17.48 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.488e-05/0.9939, allocations: 78.98 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.9941, allocations: 91.86 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.9941, allocations: 17.62 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.9943, allocations: 121.5 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.9944, allocations: 81.09 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.9945, allocations: 87.11 kB / 1.191 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.995, allocations: 340.1 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.995, allocations: 1.406 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.713e-06/0.995, allocations: 4 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.995, allocations: 0 / 1.191 GB, free: 13.54 MB / 1.076 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.0007557/0.9958, allocations: 488.9 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.9958, allocations: 9.125 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.9959, allocations: 31.25 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.9962, allocations: 214.3 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.9962, allocations: 10.94 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.9962, allocations: 14.72 kB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.9966, allocations: 300.7 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.9966, allocations: 0 / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.9966, allocations: 11.27 kB / 1.192 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.9966, allocations: 2.906 kB / 1.192 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009758/0.9976, allocations: 0.6868 MB / 1.193 GB, free: 12.63 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007914/0.9984, allocations: 485.8 kB / 1.193 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.9989, allocations: 280.8 kB / 1.193 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.9991, allocations: 96.98 kB / 1.193 GB, free: 12.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.619e-05/0.9992, allocations: 17.28 kB / 1.193 GB, free: 12.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/0.9996, allocations: 174 kB / 1.194 GB, free: 12.08 MB / 1.076 GB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.9996, allocations: 0 / 1.194 GB, free: 12.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=34): time 0.0007048/1, allocations: 375.8 kB / 1.194 GB, free: 11.94 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/1, allocations: 134.9 kB / 1.194 GB, free: 11.78 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/1.001, allocations: 315.8 kB / 1.194 GB, free: 11.61 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/1.001, allocations: 34.98 kB / 1.194 GB, free: 11.57 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/1.001, allocations: 131.5 kB / 1.195 GB, free: 11.46 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/1.001, allocations: 115.2 kB / 1.195 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.982e-05/1.001, allocations: 66.22 kB / 1.195 GB, free: 11.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/1.001, allocations: 342.9 kB / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/1.001, allocations: 80.66 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/1.001, allocations: 205.1 kB / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/1.002, allocations: 227.7 kB / 1.196 GB, free: 10.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.002, allocations: 4 kB / 1.196 GB, free: 10.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004203/1.002, allocations: 273.4 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.002, allocations: 5 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.002, allocations: 1.094 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.002, allocations: 1.766 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/1.002, allocations: 59.86 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.002, allocations: 1.188 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/1.003, allocations: 32.84 kB / 1.196 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/1.003, allocations: 9.922 kB / 1.196 GB, free: 10.59 MB / 1.076 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.0001319/1.003, allocations: 174.2 kB / 1.196 GB, free: 10.44 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/1.003, allocations: 25.02 kB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007165/1.003, allocations: 387.2 kB / 1.196 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.003, allocations: 3.469 kB / 1.196 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.003, allocations: 0.7031 kB / 1.196 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/1.003, allocations: 1.406 kB / 1.196 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/1.004, allocations: 240.7 kB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.004, allocations: 5.031 kB / 1.197 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/1.004, allocations: 52.27 kB / 1.197 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.004, allocations: 1.969 kB / 1.197 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/1.004, allocations: 11.19 kB / 1.197 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.004, allocations: 1.375 kB / 1.197 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.004, allocations: 4 kB / 1.197 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/1.004, allocations: 329.4 kB / 1.197 GB, free: 9.914 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/1.005, allocations: 65.97 kB / 1.197 GB, free: 9.883 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/1.005, allocations: 10.19 kB / 1.197 GB, free: 9.875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/1.005, allocations: 17.7 kB / 1.197 GB, free: 9.867 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/1.005, allocations: 27.39 kB / 1.197 GB, free: 9.863 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/1.005, allocations: 14.27 kB / 1.197 GB, free: 9.859 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000228/1.005, allocations: 243.5 kB / 1.197 GB, free: 9.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.005, allocations: 0 / 1.197 GB, free: 9.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003638/1.006, allocations: 75.23 kB / 1.198 GB, free: 9.711 MB / 1.076 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.001653/1.007, allocations: 481.6 kB / 1.198 GB, free: 9.504 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004316/1.008, allocations: 227.7 kB / 1.198 GB, free: 9.438 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.008, allocations: 0 / 1.198 GB, free: 9.438 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/1.008, allocations: 123.5 kB / 1.198 GB, free: 9.402 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/1.008, allocations: 45.14 kB / 1.198 GB, free: 9.379 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007853/1.009, allocations: 0.5062 MB / 1.199 GB, free: 9.094 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/1.009, allocations: 146.4 kB / 1.199 GB, free: 9.012 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003259/1.009, allocations: 149.3 kB / 1.199 GB, free: 8.977 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/1.009, allocations: 44.09 kB / 1.199 GB, free: 8.961 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/1.009, allocations: 0 / 1.199 GB, free: 8.961 MB / 1.076 GB Notification: Performance of Templates: time 0.008588/1.018, allocations: 3.376 MB / 1.202 GB, free: 8.484 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.226429622038268]