Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008874/0.008874, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.28/3.28, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004286, allocations: 9.531 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5404, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002113/0.5426, allocations: 1.204 MB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.544, allocations: 0.7127 MB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.5441, allocations: 0 / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.33e-05/0.5442, allocations: 11.92 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-05/0.5443, allocations: 7.922 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.5453, allocations: 291.1 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.5456, allocations: 155.7 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.805e-05/0.5457, allocations: 4 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.595e-05/0.5458, allocations: 71.75 kB / 1.077 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.493e-05/0.5459, allocations: 47.83 kB / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.5459, allocations: 11.92 kB / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.5463, allocations: 235.8 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.5464, allocations: 35.89 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.5465, allocations: 81.42 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.5469, allocations: 291.6 kB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5469, allocations: 0 / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.511e-05/0.5469, allocations: 0 / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.5469, allocations: 3.938 kB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006854/0.5476, allocations: 454.9 kB / 1.078 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.5477, allocations: 12.03 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.5477, allocations: 8.844 kB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.548, allocations: 217.3 kB / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.548, allocations: 12.36 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.5481, allocations: 12.36 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.5483, allocations: 96.73 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5483, allocations: 4.188 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.5483, allocations: 11.94 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5483, allocations: 0 / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.5485, allocations: 43.91 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.5488, allocations: 243.4 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.549, allocations: 115.9 kB / 1.078 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.5491, allocations: 70.66 kB / 1.078 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.5491, allocations: 3.938 kB / 1.078 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.5494, allocations: 138.4 kB / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.5494, allocations: 0 / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0004688/0.5499, allocations: 218.1 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/0.55, allocations: 118.8 kB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.5502, allocations: 136.8 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.5502, allocations: 41.7 kB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.5503, allocations: 100.7 kB / 1.079 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.5504, allocations: 51.3 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.5504, allocations: 37.7 kB / 1.079 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5506, allocations: 322.8 kB / 1.08 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/0.5507, allocations: 52.25 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.5509, allocations: 192.3 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.5511, allocations: 130.5 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5512, allocations: 4 kB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000299/0.5515, allocations: 201.3 kB / 1.08 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.5515, allocations: 4 kB / 1.08 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/0.5515, allocations: 7.938 kB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.5516, allocations: 3.938 kB / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.5517, allocations: 15.98 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5517, allocations: 0 / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.552, allocations: 66.95 kB / 1.08 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.552, allocations: 8 kB / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001517/0.5521, allocations: 140.2 kB / 1.08 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.5522, allocations: 15.83 kB / 1.08 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.5522, allocations: 20.72 kB / 1.08 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5522, allocations: 0 / 1.08 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.5523, allocations: 4 kB / 1.08 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5523, allocations: 0 / 1.08 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.5525, allocations: 213.4 kB / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.5525, allocations: 4 kB / 1.081 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.5526, allocations: 11.94 kB / 1.081 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5526, allocations: 4 kB / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.5526, allocations: 0 / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.5526, allocations: 7.984 kB / 1.081 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5526, allocations: 0 / 1.081 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.5529, allocations: 211.7 kB / 1.081 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.553, allocations: 92.92 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.553, allocations: 7.984 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/0.5531, allocations: 7.938 kB / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.5532, allocations: 19.92 kB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5532, allocations: 4 kB / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001244/0.5533, allocations: 109.1 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5533, allocations: 0 / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004517/0.5538, allocations: 107.9 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003818/0.5542, allocations: 191.1 kB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.5546, allocations: 217 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5546, allocations: 0 / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.5547, allocations: 59.92 kB / 1.082 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.5549, allocations: 11 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.5555, allocations: 283.8 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.5559, allocations: 0.7048 MB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.508e-05/0.556, allocations: 12.88 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.556, allocations: 11.44 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of SimCode: time 1.052e-06/0.556, allocations: 4 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.007179/0.5632, allocations: 2.932 MB / 1.085 GB, free: 11.39 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)