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.001581/0.001581, allocations: 102.8 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.00152/0.00152, 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.425/1.425, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.185/3.185, allocations: 0.49 GB / 0.7916 GB, free: 33.2 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) [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.002054/0.002054, allocations: 68.31 kB / 1.149 GB, free: 26.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3528, allocations: 176.1 MB / 1.321 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003602/0.3564, allocations: 1.683 MB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002527/0.3589, allocations: 1.3 MB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.446e-05/0.359, allocations: 0 / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.3592, allocations: 27.78 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.3596, allocations: 115.5 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.36, allocations: 135.3 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000351/0.3603, allocations: 245.5 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3604, allocations: 19.92 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.3606, allocations: 83.77 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.3609, allocations: 99.69 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.3609, allocations: 20 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.3611, allocations: 123.9 kB / 1.325 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3612, allocations: 95.67 kB / 1.325 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.3614, allocations: 99.39 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004748/0.3618, allocations: 334.6 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3618, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3618, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.341e-06/0.3619, allocations: 0 / 1.325 GB, free: 15.1 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.0009296/0.3628, allocations: 0.5611 MB / 1.326 GB, free: 14.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.3628, allocations: 15.98 kB / 1.326 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.994e-05/0.3629, allocations: 50.73 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.356e-05/0.363, allocations: 36.75 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.3633, allocations: 267 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.3633, allocations: 12.38 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.3634, allocations: 12.38 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.3638, allocations: 224.6 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3638, allocations: 3.984 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.3638, allocations: 4 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3638, allocations: 8 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.3648, allocations: 0.7373 MB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3659, allocations: 0.5745 MB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.3666, allocations: 275.7 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.3668, allocations: 93.38 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.87e-05/0.3668, allocations: 24.25 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004718/0.3673, allocations: 176.9 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.3673, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008847/0.3682, allocations: 373.2 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.3683, allocations: 132.5 kB / 1.329 GB, free: 11.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.3688, allocations: 312.9 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.3688, allocations: 41.64 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.369, allocations: 128.8 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.3691, allocations: 119 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3692, allocations: 65.69 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.3694, allocations: 334.8 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.3695, allocations: 87.89 kB / 1.33 GB, free: 10.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.3698, allocations: 123.4 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.3701, allocations: 213.6 kB / 1.33 GB, free: 9.871 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3701, allocations: 4 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000476/0.3706, allocations: 281.3 kB / 1.33 GB, free: 9.586 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3706, allocations: 6.188 kB / 1.33 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3706, allocations: 3.938 kB / 1.33 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3707, allocations: 4 kB / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.3709, allocations: 59.91 kB / 1.33 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3709, allocations: 0 / 1.33 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.3711, allocations: 27.81 kB / 1.33 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.3711, allocations: 16 kB / 1.33 GB, free: 9.473 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.0001852/0.3713, allocations: 165.8 kB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.3714, allocations: 31.8 kB / 1.33 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007448/0.3721, allocations: 376.8 kB / 1.331 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3721, allocations: 4 kB / 1.331 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3721, allocations: 0 / 1.331 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.3721, allocations: 7.938 kB / 1.331 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.3725, allocations: 333.3 kB / 1.331 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3725, allocations: 0 / 1.331 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.3727, allocations: 59.91 kB / 1.331 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3727, allocations: 0 / 1.331 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.3727, allocations: 11.98 kB / 1.331 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3727, allocations: 8 kB / 1.331 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3727, allocations: 0 / 1.331 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.3733, allocations: 319.2 kB / 1.332 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.3734, allocations: 152.8 kB / 1.332 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.3735, allocations: 4 kB / 1.332 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3736, allocations: 15.98 kB / 1.332 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.3737, allocations: 27.91 kB / 1.332 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.3737, allocations: 12 kB / 1.332 GB, free: 7.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003269/0.374, allocations: 244.4 kB / 1.332 GB, free: 7.637 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.374, allocations: 3.938 kB / 1.332 GB, free: 7.633 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003538/0.3744, allocations: 75.86 kB / 1.332 GB, free: 7.559 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.002383/0.3768, allocations: 1.213 MB / 1.333 GB, free: 6.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005899/0.3774, allocations: 223.6 kB / 1.333 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3774, allocations: 0 / 1.333 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.3776, allocations: 120.4 kB / 1.334 GB, free: 6.145 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.3779, allocations: 40.23 kB / 1.334 GB, free: 6.109 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.3815, allocations: 2.51 MB / 1.336 GB, free: 3.504 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.3819, allocations: 0.7613 MB / 1.337 GB, free: 2.719 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003639/0.3823, allocations: 142.9 kB / 1.337 GB, free: 2.578 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.3825, allocations: 103.4 kB / 1.337 GB, free: 2.477 MB / 1.029 GB Notification: Performance of SimCode: time 1.092e-06/0.3825, allocations: 0 / 1.337 GB, free: 2.477 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.4165, allocations: 5.996 MB / 1.343 GB, free: 12.58 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.609, allocations: 17.67 kB / 1.343 GB, free: 12.56 MB / 1.045 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 15.27221017004922]