Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002496/0.002496, allocations: 83.69 kB / 20.23 MB, free: 4.172 MB / 18.57 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.002262/0.002262, allocations: 157.7 kB / 23.55 MB, free: 0.8555 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 1.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.08/3.08, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8108 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.24e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003446/0.003478, allocations: 1.454 MB / 0.8122 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009898/0.004468, allocations: 479.8 kB / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.004504, allocations: 0 / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 8.938e-05/0.004593, allocations: 7.922 kB / 0.8126 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.004661, allocations: 15.86 kB / 0.8127 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.005489, allocations: 237.1 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.005768, allocations: 147.7 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.00581, allocations: 4 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.005954, allocations: 84.42 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.00606, allocations: 36.42 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.006099, allocations: 9.312 kB / 0.8132 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.006467, allocations: 187.7 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.564e-05/0.006553, allocations: 35.91 kB / 0.8134 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.006644, allocations: 33.12 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.007096, allocations: 283.2 kB / 0.8137 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.007099, allocations: 0 / 0.8137 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.804e-06/0.007101, allocations: 1.375 kB / 0.8137 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.007107, allocations: 0 / 0.8137 GB, free: 15.19 MB / 0.7761 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.0007724/0.007879, allocations: 479.6 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.007919, allocations: 9.5 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.664e-05/0.007996, allocations: 16.89 kB / 0.8142 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.008265, allocations: 158.2 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.008284, allocations: 4.375 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.008317, allocations: 13.72 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.008494, allocations: 81.55 kB / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.008504, allocations: 192 / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.008514, allocations: 384 / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.008519, allocations: 0.9062 kB / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.58e-05/0.008614, allocations: 41.78 kB / 0.8144 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.008877, allocations: 180.3 kB / 0.8146 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.009023, allocations: 78.17 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.009107, allocations: 51.45 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.009119, allocations: 2.062 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.00933, allocations: 116.4 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.009331, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0003815/0.009713, allocations: 133.6 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.009788, allocations: 85.11 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.01003, allocations: 227.6 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.01007, allocations: 33.7 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.01019, allocations: 147.8 kB / 0.8154 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.01026, allocations: 44.44 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.01036, allocations: 59.36 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003055/0.01067, allocations: 0.5084 MB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.314e-05/0.01073, allocations: 24 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005502/0.01128, allocations: 0.6062 MB / 0.8167 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.01147, allocations: 95.17 kB / 0.8167 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01147, allocations: 0 / 0.8167 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002504/0.01172, allocations: 145.5 kB / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.01173, allocations: 4.906 kB / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/0.01176, allocations: 7.938 kB / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.01178, allocations: 4.719 kB / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.01189, allocations: 19.98 kB / 0.8169 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.0119, allocations: 1.125 kB / 0.8169 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.01213, allocations: 56.38 kB / 0.817 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.01214, allocations: 4 kB / 0.817 GB, free: 11.38 MB / 0.7761 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.0001747/0.01232, allocations: 173.2 kB / 0.8171 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.01235, allocations: 20.98 kB / 0.8172 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.0124, allocations: 8.781 kB / 0.8172 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.01241, allocations: 7.938 kB / 0.8172 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.01242, allocations: 1.969 kB / 0.8172 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01242, allocations: 0 / 0.8172 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.01263, allocations: 156.6 kB / 0.8173 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01263, allocations: 0 / 0.8173 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.01267, allocations: 4 kB / 0.8173 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.01267, allocations: 6.375 kB / 0.8173 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01268, allocations: 0 / 0.8173 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01268, allocations: 0 / 0.8173 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-05/0.0127, allocations: 7.922 kB / 0.8174 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.013, allocations: 179.9 kB / 0.8175 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.01302, allocations: 11.89 kB / 0.8175 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.01304, allocations: 1.125 kB / 0.8175 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.01308, allocations: 4.094 kB / 0.8175 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.01315, allocations: 15.91 kB / 0.8176 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.01316, allocations: 4.969 kB / 0.8176 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001236/0.01328, allocations: 149.1 kB / 0.8177 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01328, allocations: 4 kB / 0.8177 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003317/0.01361, allocations: 73.45 kB / 0.8178 GB, free: 10.51 MB / 0.7761 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.0003448/0.01396, allocations: 171.1 kB / 0.8179 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.01427, allocations: 160.3 kB / 0.8181 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01427, allocations: 0 / 0.8181 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.01435, allocations: 40.95 kB / 0.8181 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.01452, allocations: 11.86 kB / 0.8181 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/0.01508, allocations: 215.3 kB / 0.8183 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.01537, allocations: 101.6 kB / 0.8184 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.137e-05/0.01541, allocations: 9.375 kB / 0.8185 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.01545, allocations: 15.75 kB / 0.8185 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.01545, allocations: 0 / 0.8185 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of Templates: time 0.007214/0.02267, allocations: 2.708 MB / 0.8211 GB, free: 7.078 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.477518090978265]