Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.001559/0.001559, allocations: 111.3 kB / 17.6 MB, free: 4.664 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.001628/0.001628, allocations: 186.8 kB / 20.78 MB, free: 1.496 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.606/1.606, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.909/2.909, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 71.88 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.092, allocations: 168.7 MB / 1.271 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003172/1.095, allocations: 1.443 MB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009934/1.096, allocations: 0.4961 MB / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/1.096, allocations: 0.75 kB / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.752e-05/1.096, allocations: 7.703 kB / 1.273 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.657e-05/1.096, allocations: 12.45 kB / 1.273 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008806/1.097, allocations: 229.2 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002656/1.097, allocations: 149.7 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/1.097, allocations: 2.719 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/1.097, allocations: 57.19 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.84e-05/1.097, allocations: 45.91 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/1.097, allocations: 9.469 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/1.098, allocations: 171.3 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/1.098, allocations: 35.23 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/1.098, allocations: 51.8 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004043/1.098, allocations: 233.5 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.098, allocations: 3.891 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.504e-06/1.098, allocations: 0 / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.327e-05/1.098, allocations: 0 / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006318/1.099, allocations: 456 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/1.099, allocations: 9.625 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/1.099, allocations: 37.23 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/1.099, allocations: 19.73 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/1.099, allocations: 209.4 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/1.099, allocations: 8.75 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/1.099, allocations: 10.09 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/1.1, allocations: 79.52 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.1, allocations: 3.938 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/1.1, allocations: 2.266 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/1.1, allocations: 0.875 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/1.1, allocations: 49.16 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/1.1, allocations: 231.9 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/1.1, allocations: 72.75 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/1.1, allocations: 51.62 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/1.1, allocations: 0.6562 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/1.1, allocations: 118.5 kB / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/1.1, allocations: 0 / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0004719/1.101, allocations: 189.3 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/1.101, allocations: 88.12 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/1.101, allocations: 153.3 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/1.101, allocations: 38.39 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/1.101, allocations: 101.7 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/1.101, allocations: 39.7 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/1.101, allocations: 49.66 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/1.101, allocations: 327.2 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/1.101, allocations: 41.83 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/1.102, allocations: 195.8 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/1.102, allocations: 97.25 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.102, allocations: 1.125 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002724/1.102, allocations: 163.8 kB / 1.277 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.102, allocations: 9.438 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/1.102, allocations: 3.719 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.102, allocations: 0.875 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/1.102, allocations: 12.61 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.102, allocations: 0.8125 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/1.103, allocations: 79.75 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/1.103, allocations: 4.469 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001176/1.103, allocations: 138.7 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/1.103, allocations: 20.25 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/1.103, allocations: 13.7 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.103, allocations: 1.906 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/1.103, allocations: 4 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.103, allocations: 0.8125 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/1.103, allocations: 205.9 kB / 1.278 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.103, allocations: 3.938 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/1.103, allocations: 7.188 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/1.103, allocations: 0.875 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/1.103, allocations: 1.859 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.103, allocations: 1.062 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.103, allocations: 1.406 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/1.103, allocations: 184.1 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/1.103, allocations: 86.45 kB / 1.278 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/1.103, allocations: 5.375 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.371e-05/1.103, allocations: 3.703 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/1.103, allocations: 14.83 kB / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/1.103, allocations: 2.656 kB / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.286e-05/1.104, allocations: 116.4 kB / 1.278 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.104, allocations: 4 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003988/1.104, allocations: 73.83 kB / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006888/1.105, allocations: 0.7831 MB / 1.279 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003797/1.105, allocations: 157.6 kB / 1.279 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.105, allocations: 4 kB / 1.279 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/1.105, allocations: 40.8 kB / 1.279 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/1.105, allocations: 10.75 kB / 1.279 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/1.108, allocations: 1.716 MB / 1.281 GB, free: 16.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/1.108, allocations: 0.7094 MB / 1.281 GB, free: 16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.022e-05/1.108, allocations: 7.703 kB / 1.281 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/1.108, allocations: 27.81 kB / 1.281 GB, free: 15.97 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/1.108, allocations: 1.406 kB / 1.281 GB, free: 15.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/1.142, allocations: 3.983 MB / 1.285 GB, free: 15.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/11.53, allocations: 6.75 kB / 1.285 GB, free: 15.39 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.156577660993207]