Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001568/0.001568, allocations: 112.1 kB / 16.41 MB, free: 6.449 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.00157/0.00157, allocations: 191.7 kB / 19.35 MB, free: 3.711 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.481/1.481, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.994/2.994, allocations: 489 MB / 0.7678 GB, free: 4 kB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.89 kB / 1.101 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286/1.288, allocations: 163.8 MB / 1.261 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003474/1.292, allocations: 1.415 MB / 1.262 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001101/1.293, allocations: 0.5022 MB / 1.263 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/1.293, allocations: 0 / 1.263 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.515e-05/1.293, allocations: 11.86 kB / 1.263 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.226e-05/1.293, allocations: 7.938 kB / 1.263 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008249/1.294, allocations: 227.3 kB / 1.263 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002559/1.294, allocations: 151.7 kB / 1.263 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.467e-05/1.294, allocations: 12 kB / 1.263 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/1.294, allocations: 51.91 kB / 1.263 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.637e-05/1.294, allocations: 39.83 kB / 1.263 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/1.294, allocations: 12 kB / 1.263 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/1.295, allocations: 171.8 kB / 1.264 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.186e-05/1.295, allocations: 31.91 kB / 1.264 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.878e-05/1.295, allocations: 55.72 kB / 1.264 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003837/1.295, allocations: 231.3 kB / 1.264 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.295, allocations: 4 kB / 1.264 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.014e-06/1.295, allocations: 4 kB / 1.264 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.295, allocations: 3.938 kB / 1.264 GB, free: 4.234 MB / 0.9669 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.0007135/1.296, allocations: 458.5 kB / 1.264 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.296, allocations: 8.031 kB / 1.264 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/1.296, allocations: 34.75 kB / 1.264 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/1.296, allocations: 12.89 kB / 1.264 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/1.297, allocations: 217.9 kB / 1.265 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/1.297, allocations: 4.375 kB / 1.265 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/1.297, allocations: 16.38 kB / 1.265 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/1.297, allocations: 83.89 kB / 1.265 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/1.297, allocations: 3.938 kB / 1.265 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/1.297, allocations: 0 / 1.265 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.297, allocations: 0 / 1.265 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/1.297, allocations: 39.97 kB / 1.265 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/1.297, allocations: 226.5 kB / 1.265 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/1.297, allocations: 85.17 kB / 1.265 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/1.298, allocations: 57.81 kB / 1.265 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/1.298, allocations: 0 / 1.265 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/1.298, allocations: 117 kB / 1.265 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/1.298, allocations: 0 / 1.265 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0004192/1.298, allocations: 193.9 kB / 1.265 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/1.298, allocations: 93.09 kB / 1.265 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/1.299, allocations: 147.8 kB / 1.266 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/1.299, allocations: 33.7 kB / 1.266 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/1.299, allocations: 100.5 kB / 1.266 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/1.299, allocations: 35.73 kB / 1.266 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/1.299, allocations: 49.7 kB / 1.266 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.299, allocations: 334.8 kB / 1.266 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/1.299, allocations: 35.98 kB / 1.266 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/1.299, allocations: 203.3 kB / 1.266 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/1.3, allocations: 93.69 kB / 1.266 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.3, allocations: 3.938 kB / 1.266 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002592/1.3, allocations: 161.4 kB / 1.267 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/1.3, allocations: 8 kB / 1.267 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/1.3, allocations: 4 kB / 1.267 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/1.3, allocations: 7.984 kB / 1.267 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/1.3, allocations: 8 kB / 1.267 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.3, allocations: 8 kB / 1.267 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/1.3, allocations: 67.8 kB / 1.267 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/1.3, allocations: 8 kB / 1.267 GB, free: 1.004 MB / 0.9669 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.0001519/1.301, allocations: 145.7 kB / 1.267 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/1.301, allocations: 15.83 kB / 1.267 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/1.301, allocations: 12.72 kB / 1.267 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.301, allocations: 3.938 kB / 1.267 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/1.301, allocations: 3.984 kB / 1.267 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.301, allocations: 0 / 1.267 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/1.301, allocations: 197.5 kB / 1.267 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.301, allocations: 0 / 1.267 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/1.301, allocations: 15.98 kB / 1.267 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.301, allocations: 0 / 1.267 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/1.301, allocations: 4 kB / 1.267 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.301, allocations: 0 / 1.267 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.301, allocations: 0 / 1.267 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/1.301, allocations: 185.8 kB / 1.267 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/1.301, allocations: 89.02 kB / 1.267 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/1.301, allocations: 4 kB / 1.267 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.224e-05/1.301, allocations: 7.984 kB / 1.267 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/1.301, allocations: 8 kB / 1.267 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/1.301, allocations: 0 / 1.267 GB, free: 228 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001034/1.302, allocations: 111.2 kB / 1.267 GB, free: 116 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.302, allocations: 0 / 1.267 GB, free: 116 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003613/1.302, allocations: 79.86 kB / 1.268 GB, free: 36 kB / 0.9669 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.0008779/1.303, allocations: 0.7875 MB / 1.268 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003424/1.303, allocations: 163.3 kB / 1.268 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.303, allocations: 0 / 1.268 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/1.303, allocations: 43.92 kB / 1.268 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/1.303, allocations: 7.609 kB / 1.268 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/1.306, allocations: 1.715 MB / 1.27 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/1.306, allocations: 0.7079 MB / 1.271 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.489e-05/1.306, allocations: 8.938 kB / 1.271 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/1.306, allocations: 31.42 kB / 1.271 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/1.306, allocations: 0 / 1.271 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/1.339, allocations: 3.97 MB / 1.275 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.798/10.14, allocations: 14.3 kB / 1.275 GB, free: 8.559 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.84519658307545]