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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004919/0.004919, allocations: 101 kB / 15.73 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 195.9 kB / 16.68 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.361/2.361, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 59.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2846, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.0028/0.2875, allocations: 1.64 MB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.2891, allocations: 1.168 MB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.2892, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.2894, allocations: 23.8 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.2897, allocations: 71.69 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.2901, allocations: 139.1 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.2903, allocations: 233.6 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.2904, allocations: 23.02 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2906, allocations: 79.88 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.2908, allocations: 99.64 kB / 1.17 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.2908, allocations: 23.94 kB / 1.17 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.291, allocations: 71.98 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.32e-05/0.2911, allocations: 75.8 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.584e-05/0.2912, allocations: 103.4 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.2915, allocations: 283 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2915, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2915, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.2915, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 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.0007414/0.2923, allocations: 0.5353 MB / 1.171 GB, free: 2.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2923, allocations: 12.03 kB / 1.171 GB, free: 2.719 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.531e-05/0.2924, allocations: 54.67 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.2924, allocations: 28.66 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.2927, allocations: 267.7 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2927, allocations: 8.375 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.2928, allocations: 16.38 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.2931, allocations: 220.7 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2931, allocations: 0 / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.2931, allocations: 4 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2932, allocations: 4 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007727/0.2939, allocations: 0.7448 MB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007309/0.2947, allocations: 0.5629 MB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.2951, allocations: 303.6 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.2953, allocations: 105.4 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.2953, allocations: 24.23 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.2956, allocations: 176.9 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.2956, allocations: 0 / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of matching and sorting (n=34): time 0.000605/0.2962, allocations: 365.1 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.2963, allocations: 140.5 kB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.2966, allocations: 300 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.2966, allocations: 33.7 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.2967, allocations: 124.8 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.889e-05/0.2968, allocations: 118.3 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-05/0.2968, allocations: 61.69 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.2969, allocations: 338.8 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.2971, allocations: 79.95 kB / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.2972, allocations: 128.4 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.2975, allocations: 213.2 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2975, allocations: 0 / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003954/0.2979, allocations: 281 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.298, allocations: 4 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.298, allocations: 7.922 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.298, allocations: 4 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.2982, allocations: 59.91 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2982, allocations: 4 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.2984, allocations: 31.77 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.2984, allocations: 8 kB / 1.175 GB, free: 13.73 MB / 0.9356 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.0001398/0.2985, allocations: 161.8 kB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.2986, allocations: 27.62 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006047/0.2992, allocations: 385.5 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2992, allocations: 4 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2992, allocations: 0 / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2992, allocations: 3.938 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.2995, allocations: 325.3 kB / 1.176 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2995, allocations: 7.984 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2997, allocations: 55.92 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2997, allocations: 4 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2997, allocations: 15.92 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2997, allocations: 0 / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2997, allocations: 0 / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.3001, allocations: 325.7 kB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3002, allocations: 140.7 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.3003, allocations: 16 kB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3004, allocations: 11.98 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.3005, allocations: 23.91 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.3005, allocations: 16 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001707/0.3007, allocations: 233.6 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3007, allocations: 0 / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002689/0.301, allocations: 59.84 kB / 1.177 GB, free: 11.85 MB / 0.9356 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.001404/0.3024, allocations: 1.15 MB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.3027, allocations: 227.9 kB / 1.178 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3027, allocations: 4 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.3029, allocations: 135.8 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.3032, allocations: 39.97 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.3057, allocations: 2.449 MB / 1.181 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.306, allocations: 0.7579 MB / 1.182 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002933/0.3063, allocations: 154.9 kB / 1.182 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.3064, allocations: 91.39 kB / 1.182 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3064, allocations: 0 / 1.182 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.3282, allocations: 5.471 MB / 1.187 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.611/8.94, allocations: 7.188 kB / 1.187 GB, free: 1.531 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches