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.00136/0.00136, allocations: 119.7 kB / 17.13 MB, free: 5.758 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.001336/0.001336, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.543/1.543, allocations: 225.6 MB / 248.5 MB, free: 3.59 MB / 190.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.794/2.794, allocations: 443.5 MB / 0.7293 GB, free: 14.48 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: 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_10_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_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002682/0.002682, allocations: 67.89 kB / 1.057 GB, free: 1.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3766, allocations: 160.7 MB / 1.214 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003081/0.3797, allocations: 1.427 MB / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.3809, allocations: 0.4944 MB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.381, allocations: 0 / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.926e-05/0.3811, allocations: 7.938 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.924e-05/0.3811, allocations: 15.84 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009154/0.382, allocations: 227.5 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.3823, allocations: 147.7 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.3824, allocations: 8 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.074e-05/0.3825, allocations: 55.89 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3826, allocations: 43.83 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.3826, allocations: 8 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.3829, allocations: 167.8 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.383, allocations: 47.89 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.332e-05/0.3831, allocations: 47.8 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.3835, allocations: 243.2 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3835, allocations: 0 / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3835, allocations: 0 / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3835, allocations: 0 / 1.217 GB, free: 14 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.0007044/0.3842, allocations: 454.6 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3842, allocations: 8.031 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/0.3843, allocations: 12.89 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.3846, allocations: 212.2 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.3846, allocations: 12.38 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.3846, allocations: 12.38 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.3848, allocations: 83.89 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3848, allocations: 192 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3848, allocations: 7.922 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3848, allocations: 3.938 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.699e-05/0.3849, allocations: 39.97 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.3852, allocations: 230.5 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3853, allocations: 77.91 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.3854, allocations: 45.81 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.3854, allocations: 4 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.3857, allocations: 117 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.3857, allocations: 0 / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0003801/0.3861, allocations: 193.4 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.3861, allocations: 85.09 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3863, allocations: 152.2 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.3863, allocations: 37.69 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.3864, allocations: 96.52 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.3865, allocations: 43.73 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/0.3866, allocations: 49.64 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3867, allocations: 322.8 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.3868, allocations: 47.97 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.387, allocations: 199.3 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.3872, allocations: 101.6 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3872, allocations: 0 / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002468/0.3874, allocations: 161.4 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3875, allocations: 4 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/0.3875, allocations: 4 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3875, allocations: 4 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.3876, allocations: 11.98 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3876, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.3879, allocations: 78.39 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.3879, allocations: 8 kB / 1.22 GB, free: 10.82 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.0001419/0.3881, allocations: 141.7 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.3881, allocations: 11.89 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.3881, allocations: 12.72 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3881, allocations: 4 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.3881, allocations: 7.938 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3881, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.3883, allocations: 193.6 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3883, allocations: 3.938 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.3883, allocations: 8 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3883, allocations: 0 / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3884, allocations: 7.984 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3884, allocations: 4 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3884, allocations: 0 / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3886, allocations: 185 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.3887, allocations: 96.89 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3887, allocations: 4 kB / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.893e-05/0.3887, allocations: 0 / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.3888, allocations: 11.98 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-06/0.3888, allocations: 4 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.251e-05/0.3889, allocations: 113.3 kB / 1.22 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3889, allocations: 0 / 1.22 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003305/0.3892, allocations: 79.8 kB / 1.221 GB, free: 9.859 MB / 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.0002849/0.3895, allocations: 165.5 kB / 1.221 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.3898, allocations: 155.3 kB / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3898, allocations: 7.938 kB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.231e-05/0.3899, allocations: 39.92 kB / 1.221 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.39, allocations: 13.95 kB / 1.221 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.3906, allocations: 256.9 kB / 1.221 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.3909, allocations: 0.7041 MB / 1.222 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.391, allocations: 15.44 kB / 1.222 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.391, allocations: 0 / 1.222 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of Templates: time 0.005021/0.396, allocations: 2.444 MB / 1.224 GB, free: 6 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 400] 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] "" Variables in the reference:time,occSchDay.tNexNonOcc,occSchWee.tNexNonOcc,occSchDay.occupied,occSchWee.occupied Variables in the result:occSchDay.occupied,occSchDay.tNexNonOcc,occSchWee.occupied,occSchWee.tNexNonOcc,time [Calling sys.exit(0), Time elapsed: 11.560110709862784]