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.002003/0.002003, allocations: 105.5 kB / 16.45 MB, free: 6.445 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.001891/0.001891, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.605/1.605, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.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 3.178/3.178, allocations: 497.2 MB / 0.7812 GB, free: 11.93 MB / 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.002026/0.002026, allocations: 67.88 kB / 1.134 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301/1.303, allocations: 173.9 MB / 1.304 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003052/1.306, allocations: 1.415 MB / 1.305 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001092/1.307, allocations: 0.505 MB / 1.306 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/1.307, allocations: 0 / 1.306 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.388e-05/1.308, allocations: 7.688 kB / 1.306 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/1.308, allocations: 7.984 kB / 1.306 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008574/1.308, allocations: 231.8 kB / 1.306 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002812/1.309, allocations: 146.6 kB / 1.306 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/1.309, allocations: 3.828 kB / 1.306 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.174e-05/1.309, allocations: 61.2 kB / 1.306 GB, free: 14.13 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/1.309, allocations: 45.5 kB / 1.306 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/1.309, allocations: 9.438 kB / 1.306 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/1.309, allocations: 167.4 kB / 1.306 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.704e-05/1.309, allocations: 34.14 kB / 1.306 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/1.31, allocations: 61.22 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004396/1.31, allocations: 229.2 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.31, allocations: 4 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.984e-06/1.31, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.31, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 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.0007178/1.311, allocations: 455 kB / 1.307 GB, free: 13.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.311, allocations: 9.938 kB / 1.307 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/1.311, allocations: 34.19 kB / 1.307 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/1.311, allocations: 16.97 kB / 1.307 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/1.311, allocations: 210.7 kB / 1.307 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/1.311, allocations: 8.594 kB / 1.307 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/1.311, allocations: 14.58 kB / 1.307 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/1.311, allocations: 92.45 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.311, allocations: 3.938 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.311, allocations: 1.094 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.311, allocations: 1.219 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/1.312, allocations: 40.75 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/1.312, allocations: 231.9 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/1.312, allocations: 76.75 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.825e-05/1.312, allocations: 52.08 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/1.312, allocations: 1.969 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/1.312, allocations: 117.5 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/1.312, allocations: 0 / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0004031/1.313, allocations: 186.1 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/1.313, allocations: 87.17 kB / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/1.313, allocations: 150.7 kB / 1.308 GB, free: 12.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/1.313, allocations: 34.12 kB / 1.309 GB, free: 12.42 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/1.313, allocations: 101.2 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/1.313, allocations: 43.61 kB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-05/1.313, allocations: 57.5 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.314, allocations: 323.4 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/1.314, allocations: 45.95 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/1.314, allocations: 198.3 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/1.314, allocations: 96.95 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.314, allocations: 0.9375 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002752/1.314, allocations: 160.4 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.314, allocations: 5.625 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/1.314, allocations: 3.141 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.314, allocations: 1.062 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/1.314, allocations: 12.77 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.314, allocations: 1.312 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/1.315, allocations: 78.08 kB / 1.31 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/1.315, allocations: 3.906 kB / 1.31 GB, free: 11.61 MB / 1.014 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.0001684/1.315, allocations: 138.5 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/1.315, allocations: 17.05 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/1.315, allocations: 14.38 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/1.315, allocations: 2.172 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.315, allocations: 0 / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.315, allocations: 1.906 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/1.315, allocations: 204.8 kB / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.315, allocations: 5.219 kB / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/1.315, allocations: 6.406 kB / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.315, allocations: 1.188 kB / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/1.315, allocations: 5.906 kB / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.315, allocations: 5.906 kB / 1.31 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.315, allocations: 0 / 1.31 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/1.316, allocations: 185.3 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/1.316, allocations: 85.14 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/1.316, allocations: 9.922 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/1.316, allocations: 3.531 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/1.316, allocations: 12.52 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/1.316, allocations: 5.031 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001174/1.316, allocations: 116.5 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.316, allocations: 0 / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003906/1.316, allocations: 71.52 kB / 1.31 GB, free: 10.9 MB / 1.014 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.0009599/1.317, allocations: 0.7827 MB / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003512/1.318, allocations: 158.3 kB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.318, allocations: 4 kB / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.564e-05/1.318, allocations: 40.75 kB / 1.311 GB, free: 10.13 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/1.318, allocations: 8.453 kB / 1.311 GB, free: 10.13 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/1.32, allocations: 1.715 MB / 1.313 GB, free: 8.777 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/1.321, allocations: 0.706 MB / 1.314 GB, free: 8.078 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.474e-05/1.321, allocations: 9.547 kB / 1.314 GB, free: 8.074 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/1.321, allocations: 26.55 kB / 1.314 GB, free: 8.055 MB / 1.014 GB Notification: Performance of SimCode: time 7.92e-07/1.321, allocations: 0 / 1.314 GB, free: 8.055 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/1.351, allocations: 3.997 MB / 1.318 GB, free: 6.281 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/9.69, allocations: 11.48 kB / 1.318 GB, free: 6.273 MB / 1.014 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.90546993119642]