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.001811/0.001811, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002306/0.002306, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8 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.088/3.088, allocations: 0.49 GB / 0.7959 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="cs",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.001967/0.001967, allocations: 61.22 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3484, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003911/0.3523, allocations: 1.694 MB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.3549, allocations: 1.387 MB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.353e-05/0.355, allocations: 0 / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3553, allocations: 39.78 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004173/0.3557, allocations: 111.4 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.3561, allocations: 135.9 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.3565, allocations: 245.5 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3566, allocations: 19.92 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.3568, allocations: 87.75 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.3571, allocations: 101.9 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.3572, allocations: 20 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.3575, allocations: 123.9 kB / 1.331 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.3576, allocations: 91.73 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.3578, allocations: 107.3 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006637/0.3584, allocations: 330.6 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3584, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3585, allocations: 4 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.3585, allocations: 0 / 1.331 GB, free: 13.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.0009693/0.3594, allocations: 497.5 kB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3595, allocations: 16.03 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.937e-05/0.3595, allocations: 4.188 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.717e-05/0.3596, allocations: 46.73 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.828e-05/0.3597, allocations: 28.75 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.3601, allocations: 213.1 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.3601, allocations: 12.38 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.3601, allocations: 20.12 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.3605, allocations: 221 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3605, allocations: 0 / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.3605, allocations: 8 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3606, allocations: 4 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009697/0.3615, allocations: 0.7373 MB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009338/0.3625, allocations: 0.5501 MB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.363, allocations: 287.6 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.3631, allocations: 97.36 kB / 1.334 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.3632, allocations: 20.23 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/0.3637, allocations: 180.8 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.3637, allocations: 0 / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0007435/0.3644, allocations: 365.3 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.3645, allocations: 136.5 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.3649, allocations: 320.9 kB / 1.335 GB, free: 9.539 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.3649, allocations: 29.7 kB / 1.335 GB, free: 9.504 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.365, allocations: 128.8 kB / 1.335 GB, free: 9.371 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.3651, allocations: 115 kB / 1.335 GB, free: 9.258 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3652, allocations: 69.62 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3654, allocations: 334.8 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3655, allocations: 79.95 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.3658, allocations: 135.3 kB / 1.336 GB, free: 8.625 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.3661, allocations: 213 kB / 1.336 GB, free: 8.414 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3661, allocations: 0 / 1.336 GB, free: 8.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004819/0.3666, allocations: 281.3 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3666, allocations: 7.938 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3666, allocations: 0 / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3666, allocations: 0 / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.3669, allocations: 63.91 kB / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3669, allocations: 7.938 kB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.367, allocations: 27.88 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.3671, allocations: 12 kB / 1.336 GB, free: 8.016 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.0001849/0.3672, allocations: 161.7 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.3673, allocations: 27.81 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007455/0.3681, allocations: 386 kB / 1.337 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3681, allocations: 4 kB / 1.337 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3681, allocations: 3.938 kB / 1.337 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3681, allocations: 0 / 1.337 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.3684, allocations: 304.4 kB / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3684, allocations: 0 / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.3686, allocations: 63.91 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3686, allocations: 4 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.3686, allocations: 11.98 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3686, allocations: 0 / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3686, allocations: 3.938 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.3692, allocations: 318.4 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3693, allocations: 67.69 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.3693, allocations: 11.98 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3695, allocations: 16 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.3695, allocations: 27.88 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.3696, allocations: 16 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002452/0.3698, allocations: 240.4 kB / 1.338 GB, free: 6.305 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3698, allocations: 0 / 1.338 GB, free: 6.305 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003427/0.3702, allocations: 71.86 kB / 1.338 GB, free: 6.234 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.002453/0.3726, allocations: 1.219 MB / 1.339 GB, free: 5.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.3731, allocations: 223.8 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3731, allocations: 0 / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.3733, allocations: 127.8 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.3736, allocations: 38.23 kB / 1.339 GB, free: 4.773 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.3771, allocations: 2.498 MB / 1.342 GB, free: 2.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.3775, allocations: 0.7613 MB / 1.342 GB, free: 1.395 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003461/0.3779, allocations: 142.9 kB / 1.343 GB, free: 1.258 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.378, allocations: 99.39 kB / 1.343 GB, free: 1.16 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.378, allocations: 0 / 1.343 GB, free: 1.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03945/0.4175, allocations: 6.301 MB / 1.349 GB, free: 10.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 0 / 1.349 GB, free: 10.93 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.656974028039258]