Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Sources.Examples.DayType.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.037/5.037, allocations: 0.5623 GB / 0.5776 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002469/0.002469, allocations: 352.8 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.339/4.339, allocations: 410.7 MB / 1.113 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002064/0.002064, allocations: 179.3 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005733/0.0005736, allocations: 16 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7799/0.7805, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.002774/0.7834, allocations: 1.131 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.7846, allocations: 259.8 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.7848, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.785, allocations: 19.86 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.865e-05/0.7851, allocations: 15.91 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.7857, allocations: 72.33 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.7861, allocations: 188 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.7862, allocations: 15.19 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.7864, allocations: 78.47 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.7867, allocations: 107.7 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.959e-05/0.7868, allocations: 8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.555e-05/0.7869, allocations: 8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.787, allocations: 75.8 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.708e-05/0.7871, allocations: 57.58 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.7875, allocations: 189.7 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.7875, allocations: 0.7812 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.097e-06/0.7875, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.7876, allocations: 0.7188 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001888/0.7895, allocations: 0.617 MB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.7896, allocations: 11.62 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.7897, allocations: 29.5 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.7903, allocations: 261.5 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.523e-05/0.7904, allocations: 12.28 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.7905, allocations: 21.03 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.7918, allocations: 461 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.7918, allocations: 4 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.7919, allocations: 4 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.7919, allocations: 8.609 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009061/0.7929, allocations: 318.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.7941, allocations: 0.5667 MB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/0.7968, allocations: 1.027 MB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.7987, allocations: 0.6638 MB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.21e-05/0.7988, allocations: 12.77 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.8002, allocations: 476.7 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 5.921e-06/0.8002, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.003365/0.8036, allocations: 1.11 MB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.8038, allocations: 142.9 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.8043, allocations: 253 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/0.8044, allocations: 37.7 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.8045, allocations: 121.1 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.8047, allocations: 79 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.8047, allocations: 9.25 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8049, allocations: 342.8 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008609/0.8057, allocations: 331.6 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009583/0.8067, allocations: 421.3 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.8078, allocations: 362 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.8078, allocations: 0 / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002385/0.8102, allocations: 0.8309 MB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.8103, allocations: 4 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.8104, allocations: 4.5 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/0.8104, allocations: 4 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.8108, allocations: 48.72 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.8109, allocations: 4 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006915/0.8116, allocations: 32.92 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006589/0.8123, allocations: 266.1 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004254/0.8127, allocations: 194.8 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.8129, allocations: 34.47 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.813, allocations: 38.17 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.8131, allocations: 3.984 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.8131, allocations: 0 / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.8132, allocations: 104.8 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.8133, allocations: 12 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.8137, allocations: 7.938 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.814, allocations: 60.44 kB / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002795/0.8168, allocations: 1.125 MB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002459/0.8193, allocations: 1.197 MB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001155/0.8205, allocations: 395.5 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003089/0.8209, allocations: 168.5 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of Backend: time 1.052e-06/0.8209, allocations: 3.844 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00244/0.8234, allocations: 0.4956 MB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.003493/0.8269, allocations: 1.069 MB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.02418/0.8512, allocations: 6.368 MB / 1.483 GB, free: 262 MB / 0.8542 GB