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.001807/0.001807, allocations: 116.8 kB / 17.17 MB, free: 6 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.002195/0.002195, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.843/2.843, allocations: 0.49 GB / 0.7923 GB, free: 1.512 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="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.002008/0.002008, allocations: 71.89 kB / 1.15 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9777/0.9797, allocations: 176.1 MB / 1.321 GB, free: 24.8 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002559/0.9823, allocations: 1.677 MB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.9837, allocations: 1.304 MB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.9838, allocations: 6.812 kB / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.984, allocations: 22.27 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.9843, allocations: 118 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.9846, allocations: 137.2 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.9848, allocations: 244.9 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.9849, allocations: 14 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.985, allocations: 87.44 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.9852, allocations: 99.83 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.9852, allocations: 16.09 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.9854, allocations: 125.6 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.25e-05/0.9855, allocations: 87.56 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.213e-05/0.9856, allocations: 99.64 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.9859, allocations: 335.2 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.9859, allocations: 0 / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9859, allocations: 2.531 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.9859, allocations: 4 kB / 1.326 GB, free: 22.09 MB / 1.061 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.0007297/0.9867, allocations: 0.5609 MB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.9867, allocations: 12.55 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.592e-05/0.9867, allocations: 9.75 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.9868, allocations: 51.34 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.9868, allocations: 30.81 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.9871, allocations: 268.8 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.9871, allocations: 9.688 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.9871, allocations: 30.16 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.9875, allocations: 213.4 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.9875, allocations: 0 / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.9875, allocations: 6.562 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.9875, allocations: 2.625 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009967/0.9885, allocations: 0.7411 MB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008171/0.9893, allocations: 0.5724 MB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.9898, allocations: 281 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.99, allocations: 93.42 kB / 1.329 GB, free: 20.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.99, allocations: 20.73 kB / 1.329 GB, free: 20.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003572/0.9904, allocations: 177.9 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.9904, allocations: 0 / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.0007291/0.9911, allocations: 374.3 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.9912, allocations: 132.6 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.9915, allocations: 315.6 kB / 1.33 GB, free: 19.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.9915, allocations: 35.08 kB / 1.33 GB, free: 19.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.9915, allocations: 128.3 kB / 1.33 GB, free: 19.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.419e-05/0.9916, allocations: 115 kB / 1.33 GB, free: 19.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.9917, allocations: 66.36 kB / 1.33 GB, free: 19.65 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.9918, allocations: 342.4 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.9919, allocations: 79.53 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.9921, allocations: 124 kB / 1.33 GB, free: 19.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.9925, allocations: 219 kB / 1.331 GB, free: 19.15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9925, allocations: 3.938 kB / 1.331 GB, free: 19.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00046/0.9929, allocations: 281.2 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.9929, allocations: 5.297 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.993, allocations: 4.906 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.993, allocations: 1.094 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.9932, allocations: 59.66 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.9932, allocations: 9.938 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.9934, allocations: 32.23 kB / 1.331 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.9934, allocations: 9.828 kB / 1.331 GB, free: 19 MB / 1.061 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.0001645/0.9936, allocations: 164.6 kB / 1.331 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.9936, allocations: 29.34 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.9944, allocations: 373 kB / 1.331 GB, free: 18.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.9944, allocations: 3.656 kB / 1.331 GB, free: 18.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.9944, allocations: 8.844 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.9944, allocations: 1.969 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.9947, allocations: 336.7 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.9947, allocations: 0.6094 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.9949, allocations: 57.41 kB / 1.332 GB, free: 18.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.9949, allocations: 4.5 kB / 1.332 GB, free: 18.42 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.9949, allocations: 11.19 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9949, allocations: 1.312 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9949, allocations: 4.641 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.9954, allocations: 332 kB / 1.332 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.9955, allocations: 147.3 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.9956, allocations: 7.062 kB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.9957, allocations: 13.45 kB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.9958, allocations: 28.75 kB / 1.332 GB, free: 18.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.9958, allocations: 11.36 kB / 1.332 GB, free: 18.1 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002537/0.9961, allocations: 242.5 kB / 1.333 GB, free: 17.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9961, allocations: 0 / 1.333 GB, free: 17.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003725/0.9964, allocations: 79.41 kB / 1.333 GB, free: 17.95 MB / 1.061 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.002125/0.9986, allocations: 1.204 MB / 1.334 GB, free: 17.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005533/0.9991, allocations: 222.8 kB / 1.334 GB, free: 17.08 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9991, allocations: 1.359 kB / 1.334 GB, free: 17.08 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.9994, allocations: 118.6 kB / 1.334 GB, free: 17.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.9997, allocations: 38.53 kB / 1.334 GB, free: 17.03 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/1.003, allocations: 2.512 MB / 1.337 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/1.003, allocations: 0.7557 MB / 1.337 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003241/1.003, allocations: 152.9 kB / 1.338 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/1.003, allocations: 102.3 kB / 1.338 GB, free: 14.63 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/1.003, allocations: 0 / 1.338 GB, free: 14.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/1.033, allocations: 6.039 MB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/9.642, allocations: 18.61 kB / 1.344 GB, free: 13.63 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.14961708599003]