Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 114.3 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.91 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3493, allocations: 160.7 MB / 1.214 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003124/0.3525, allocations: 1.636 MB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3543, allocations: 1.176 MB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.3544, allocations: 3.938 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.3546, allocations: 23.86 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.3549, allocations: 67.69 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.3554, allocations: 143.4 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.3557, allocations: 229.6 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.3558, allocations: 28.14 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.3559, allocations: 75.83 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.3562, allocations: 91.7 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.3562, allocations: 16 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.3564, allocations: 75.97 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3565, allocations: 79.81 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.3566, allocations: 103.4 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.357, allocations: 282.8 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.357, allocations: 8 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.357, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.357, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 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.0008656/0.3579, allocations: 0.5379 MB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3579, allocations: 8.031 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.358, allocations: 24.8 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.3583, allocations: 275.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3584, allocations: 8.375 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.3584, allocations: 16.38 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.3588, allocations: 224.8 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3588, allocations: 0 / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.3588, allocations: 4 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3588, allocations: 7.938 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3598, allocations: 0.7487 MB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009669/0.3608, allocations: 0.563 MB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.3614, allocations: 291.6 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.3615, allocations: 93.38 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.436e-05/0.3616, allocations: 16.25 kB / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003824/0.362, allocations: 176.9 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.362, allocations: 4 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.0007365/0.3627, allocations: 373.2 kB / 1.221 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.3628, allocations: 136.5 kB / 1.221 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.3632, allocations: 300 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.3632, allocations: 29.7 kB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3633, allocations: 124.7 kB / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.3634, allocations: 115 kB / 1.222 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3635, allocations: 69.67 kB / 1.222 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3637, allocations: 346.8 kB / 1.222 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.3638, allocations: 75.95 kB / 1.222 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.3641, allocations: 136 kB / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.3644, allocations: 208.7 kB / 1.223 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3644, allocations: 0 / 1.223 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004744/0.3649, allocations: 289.5 kB / 1.223 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3649, allocations: 4 kB / 1.223 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3649, allocations: 0 / 1.223 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3649, allocations: 8 kB / 1.223 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.3652, allocations: 59.91 kB / 1.223 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3652, allocations: 0 / 1.223 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.3653, allocations: 27.81 kB / 1.223 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.3654, allocations: 15.98 kB / 1.223 GB, free: 7.348 MB / 0.9669 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.0001712/0.3655, allocations: 161.7 kB / 1.223 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.3656, allocations: 31.81 kB / 1.223 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007217/0.3663, allocations: 377.6 kB / 1.224 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3663, allocations: 4 kB / 1.224 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3663, allocations: 0 / 1.224 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3663, allocations: 7.938 kB / 1.224 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.3667, allocations: 333.3 kB / 1.224 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3667, allocations: 0 / 1.224 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.3669, allocations: 63.84 kB / 1.224 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.3669, allocations: 4 kB / 1.224 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.3669, allocations: 8 kB / 1.224 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3669, allocations: 0 / 1.224 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3669, allocations: 3.984 kB / 1.224 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.3674, allocations: 321.8 kB / 1.224 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.3676, allocations: 144.8 kB / 1.225 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.3676, allocations: 11.94 kB / 1.225 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.3678, allocations: 11.98 kB / 1.225 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.3678, allocations: 23.97 kB / 1.225 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.3679, allocations: 23.92 kB / 1.225 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002219/0.3681, allocations: 225.6 kB / 1.225 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3681, allocations: 0 / 1.225 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003101/0.3684, allocations: 67.88 kB / 1.225 GB, free: 5.461 MB / 0.9669 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.001437/0.3698, allocations: 411.1 kB / 1.225 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.3703, allocations: 219.8 kB / 1.225 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3703, allocations: 3.938 kB / 1.225 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.3705, allocations: 120.4 kB / 1.226 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.3708, allocations: 28.67 kB / 1.226 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009723/0.3718, allocations: 0.5325 MB / 1.226 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.3722, allocations: 0.7579 MB / 1.227 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.3723, allocations: 47.41 kB / 1.227 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.3723, allocations: 3.938 kB / 1.227 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of Templates: time 0.007366/0.3797, allocations: 4.223 MB / 1.231 GB, free: 15.22 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.11832650611177]