Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001411/0.001411, allocations: 107.6 kB / 16.4 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.002544/0.002545, 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.519/1.519, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 437.1 MB / 0.7171 GB, free: 4.195 MB / 0.5762 GB " [Timeout remaining time 176] 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.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.88 kB / 1.027 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307/1.309, allocations: 151.6 MB / 1.175 GB, free: 17.45 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.004096/1.313, allocations: 1.417 MB / 1.176 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001082/1.314, allocations: 0.4941 MB / 1.177 GB, free: 16.12 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/1.314, allocations: 4 kB / 1.177 GB, free: 16.12 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/1.314, allocations: 8.688 kB / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.681e-05/1.314, allocations: 11.11 kB / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009277/1.315, allocations: 228.8 kB / 1.177 GB, free: 16.01 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003371/1.316, allocations: 146.5 kB / 1.177 GB, free: 15.95 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.373e-05/1.316, allocations: 3.453 kB / 1.177 GB, free: 15.95 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.987e-05/1.316, allocations: 61.45 kB / 1.177 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/1.316, allocations: 44.45 kB / 1.177 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/1.316, allocations: 9.781 kB / 1.177 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/1.316, allocations: 168 kB / 1.177 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.602e-05/1.317, allocations: 35.23 kB / 1.177 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/1.317, allocations: 54.31 kB / 1.177 GB, free: 15.81 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004752/1.317, allocations: 237.8 kB / 1.177 GB, free: 15.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.317, allocations: 0 / 1.177 GB, free: 15.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.445e-06/1.317, allocations: 0 / 1.177 GB, free: 15.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.002e-05/1.317, allocations: 0 / 1.177 GB, free: 15.73 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006876/1.318, allocations: 468.2 kB / 1.178 GB, free: 15.29 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/1.318, allocations: 10.56 kB / 1.178 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/1.318, allocations: 33.73 kB / 1.178 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.115e-05/1.318, allocations: 14.34 kB / 1.178 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/1.318, allocations: 209 kB / 1.178 GB, free: 15.03 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/1.318, allocations: 6.609 kB / 1.178 GB, free: 15.03 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/1.318, allocations: 13.44 kB / 1.178 GB, free: 15.03 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/1.319, allocations: 88.33 kB / 1.178 GB, free: 14.96 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.319, allocations: 3.938 kB / 1.178 GB, free: 14.96 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/1.319, allocations: 1.031 kB / 1.178 GB, free: 14.96 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/1.319, allocations: 6.156 kB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.743e-05/1.319, allocations: 35.14 kB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/1.319, allocations: 229.4 kB / 1.179 GB, free: 14.72 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/1.319, allocations: 82.94 kB / 1.179 GB, free: 14.66 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/1.319, allocations: 62.33 kB / 1.179 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/1.319, allocations: 1.219 kB / 1.179 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/1.32, allocations: 117.9 kB / 1.179 GB, free: 14.53 MB / 0.92 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/1.32, allocations: 0 / 1.179 GB, free: 14.53 MB / 0.92 GB Notification: Performance of matching and sorting (n=14): time 0.0004967/1.32, allocations: 190.4 kB / 1.179 GB, free: 14.45 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/1.32, allocations: 90.97 kB / 1.179 GB, free: 14.35 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/1.32, allocations: 150.2 kB / 1.179 GB, free: 14.24 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/1.32, allocations: 38.7 kB / 1.179 GB, free: 14.2 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/1.32, allocations: 97.33 kB / 1.179 GB, free: 14.11 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/1.32, allocations: 36.19 kB / 1.179 GB, free: 14.08 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.649e-05/1.321, allocations: 49.75 kB / 1.179 GB, free: 14.05 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/1.321, allocations: 326.6 kB / 1.18 GB, free: 13.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.869e-05/1.321, allocations: 46.61 kB / 1.18 GB, free: 13.71 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/1.321, allocations: 196.7 kB / 1.18 GB, free: 13.55 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/1.321, allocations: 101.9 kB / 1.18 GB, free: 13.49 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.321, allocations: 0 / 1.18 GB, free: 13.49 MB / 0.92 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000258/1.321, allocations: 167.7 kB / 1.18 GB, free: 13.41 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/1.322, allocations: 5.688 kB / 1.18 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/1.322, allocations: 4.438 kB / 1.18 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.322, allocations: 1.594 kB / 1.18 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/1.322, allocations: 7.062 kB / 1.18 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/1.322, allocations: 2.094 kB / 1.18 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/1.322, allocations: 79.59 kB / 1.18 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/1.322, allocations: 4.156 kB / 1.18 GB, free: 13.39 MB / 0.92 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.0001551/1.322, allocations: 142.1 kB / 1.18 GB, free: 13.26 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/1.322, allocations: 16.42 kB / 1.18 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/1.322, allocations: 18.09 kB / 1.18 GB, free: 13.24 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.322, allocations: 2.188 kB / 1.18 GB, free: 13.24 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.322, allocations: 0 / 1.18 GB, free: 13.24 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.322, allocations: 2.188 kB / 1.181 GB, free: 13.24 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/1.323, allocations: 200.8 kB / 1.181 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.323, allocations: 0.6562 kB / 1.181 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/1.323, allocations: 6.391 kB / 1.181 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.323, allocations: 1.312 kB / 1.181 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/1.323, allocations: 1.875 kB / 1.181 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.323, allocations: 5.828 kB / 1.181 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.323, allocations: 1.312 kB / 1.181 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/1.323, allocations: 180.8 kB / 1.181 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/1.323, allocations: 92.22 kB / 1.181 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/1.323, allocations: 3.406 kB / 1.181 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.546e-05/1.323, allocations: 6.75 kB / 1.181 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/1.323, allocations: 8.703 kB / 1.181 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/1.323, allocations: 4.641 kB / 1.181 GB, free: 12.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.907e-05/1.323, allocations: 109.8 kB / 1.181 GB, free: 12.71 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/1.323, allocations: 0 / 1.181 GB, free: 12.71 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005522/1.324, allocations: 75.77 kB / 1.181 GB, free: 12.7 MB / 0.92 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.0009098/1.325, allocations: 0.7942 MB / 1.182 GB, free: 12.03 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004083/1.325, allocations: 161.7 kB / 1.182 GB, free: 11.94 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.325, allocations: 0 / 1.182 GB, free: 11.94 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/1.325, allocations: 43.89 kB / 1.182 GB, free: 11.93 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/1.326, allocations: 5.656 kB / 1.182 GB, free: 11.93 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/1.328, allocations: 1.714 MB / 1.184 GB, free: 10.58 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/1.329, allocations: 0.7058 MB / 1.185 GB, free: 9.879 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.06e-05/1.329, allocations: 9.312 kB / 1.185 GB, free: 9.875 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/1.329, allocations: 27.17 kB / 1.185 GB, free: 9.855 MB / 0.92 GB Notification: Performance of SimCode: time 3.026e-06/1.329, allocations: 0 / 1.185 GB, free: 9.855 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03828/1.367, allocations: 3.982 MB / 1.188 GB, free: 9.262 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.832/10.2, allocations: 15.16 kB / 1.188 GB, free: 9.25 MB / 0.92 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.734623769065365]