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.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.001048/0.001048, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008503/0.0008503, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9197/0.9197, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.728/1.728, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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 2.886e-06/2.886e-06, allocations: 4 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.559e-05, allocations: 9.453 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001649/0.001664, allocations: 1.424 MB / 0.9518 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006123/0.002277, allocations: 466.8 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.002307, allocations: 0 / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 7.698e-05/0.002384, allocations: 11.88 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.563e-05/0.00244, allocations: 7.969 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000646/0.003086, allocations: 246.2 kB / 0.9525 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.003239, allocations: 147.7 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.003276, allocations: 15.88 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.891e-05/0.003354, allocations: 75.92 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.003418, allocations: 35.91 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.003441, allocations: 8 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.003642, allocations: 191.6 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.003696, allocations: 35.89 kB / 0.953 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.003755, allocations: 35.92 kB / 0.9531 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.004003, allocations: 275.4 kB / 0.9533 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.004005, allocations: 0 / 0.9533 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004006, allocations: 4 kB / 0.9533 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.00401, allocations: 3.938 kB / 0.9533 GB, free: 0.5547 MB / 0.9011 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.0003956/0.004406, allocations: 377.5 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.004442, allocations: 8.031 kB / 0.9537 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.004469, allocations: 38.75 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.004503, allocations: 16.88 kB / 0.9538 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.004654, allocations: 143.8 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.004665, allocations: 8.375 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.004683, allocations: 16.31 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.004794, allocations: 79.95 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.004801, allocations: 4.188 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.00481, allocations: 4.375 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004815, allocations: 8.109 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.47e-05/0.00487, allocations: 39.97 kB / 0.9541 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.005026, allocations: 185.6 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.506e-05/0.005101, allocations: 73.19 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.005151, allocations: 49.81 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.005159, allocations: 0 / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.005297, allocations: 113 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.552e-06/0.005298, allocations: 4 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0002381/0.005536, allocations: 193.4 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.005577, allocations: 85.09 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.005658, allocations: 153.8 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.005677, allocations: 33.7 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.005721, allocations: 100.5 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.005752, allocations: 35.73 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.0058, allocations: 53.69 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.005872, allocations: 322.8 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.005916, allocations: 39.98 kB / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.006159, allocations: 0.6101 MB / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.549e-05/0.006254, allocations: 101.6 kB / 0.9561 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.006257, allocations: 0 / 0.9561 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001446/0.006401, allocations: 157.5 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.006415, allocations: 15.88 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.006433, allocations: 0 / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.006446, allocations: 4 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.006498, allocations: 7.938 kB / 0.9563 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.006505, allocations: 4 kB / 0.9563 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.006648, allocations: 83.66 kB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.006657, allocations: 4 kB / 0.9564 GB, free: 13.05 MB / 0.9167 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 8.153e-05/0.006739, allocations: 137.8 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.006752, allocations: 11.94 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.006778, allocations: 16.72 kB / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.006781, allocations: 4 kB / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.006786, allocations: 0 / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.00679, allocations: 0 / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.759e-05/0.006887, allocations: 164.6 kB / 0.9567 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.006888, allocations: 0 / 0.9567 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.006906, allocations: 7.984 kB / 0.9567 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.006909, allocations: 4 kB / 0.9567 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.006918, allocations: 3.938 kB / 0.9567 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.006918, allocations: 0 / 0.9567 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.00692, allocations: 4 kB / 0.9567 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.007065, allocations: 181.9 kB / 0.9569 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.007077, allocations: 15.89 kB / 0.9569 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.007092, allocations: 3.938 kB / 0.9569 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/0.007112, allocations: 11.98 kB / 0.9569 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.007146, allocations: 4 kB / 0.9569 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.007152, allocations: 7.984 kB / 0.9569 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.267e-05/0.007204, allocations: 109.7 kB / 0.957 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007205, allocations: 4 kB / 0.957 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001938/0.007398, allocations: 71.86 kB / 0.9571 GB, free: 12.22 MB / 0.9167 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.000418/0.007816, allocations: 0.7964 MB / 0.9579 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.007996, allocations: 151.3 kB / 0.958 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.007998, allocations: 4 kB / 0.958 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.008038, allocations: 39.92 kB / 0.9581 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.008151, allocations: 4 kB / 0.9581 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.009337, allocations: 1.723 MB / 0.9598 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.82e-05/0.009395, allocations: 89.11 kB / 0.9599 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.009425, allocations: 16.72 kB / 0.9599 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.009464, allocations: 28.5 kB / 0.9599 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of SimCode: time 7.71e-07/0.009465, allocations: 0 / 0.9599 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.02625, allocations: 4.826 MB / 0.9646 GB, free: 4.574 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.853/6.88, allocations: 3.938 kB / 0.9646 GB, free: 4.57 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=518.4 --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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.9666180415079]