Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.003/5.003, allocations: 0.5623 GB / 0.5776 GB, free: 3.32 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.00286/0.00286, allocations: 361.6 kB / 0.6447 GB, free: 185.7 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.135/4.135, allocations: 410.7 MB / 1.113 GB, free: 6 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.001866/0.001865, allocations: 180.8 kB / 1.226 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005008, allocations: 16 kB / 1.349 GB, free: 8.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.7115, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001853/0.7135, allocations: 1.237 MB / 1.463 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.7151, allocations: 0.7478 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.7152, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/0.7153, allocations: 7.938 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.7154, allocations: 18.94 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.716, allocations: 99.64 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.7161, allocations: 83.7 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.7162, allocations: 21.78 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.7163, allocations: 35.84 kB / 1.464 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.872e-05/0.7164, allocations: 44.58 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.7165, allocations: 5.031 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.7167, allocations: 83.84 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.7167, allocations: 19.91 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.7168, allocations: 43.14 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.717, allocations: 109.8 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.717, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.803e-06/0.717, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.717, allocations: 7 kB / 1.464 GB, free: 281.9 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008421/0.7179, allocations: 0.4921 MB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.7179, allocations: 11.62 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.718, allocations: 16.61 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.7181, allocations: 174.9 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.7182, allocations: 4.719 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.7182, allocations: 8 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.7185, allocations: 84.2 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7185, allocations: 0 / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.7185, allocations: 1.266 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.7185, allocations: 3.984 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.7188, allocations: 57.2 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.7194, allocations: 330.9 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.7197, allocations: 88.17 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.7199, allocations: 46.61 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.7199, allocations: 3.984 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.7202, allocations: 113.5 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.615e-06/0.7203, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0005999/0.7209, allocations: 180.1 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.7209, allocations: 54 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.721, allocations: 145.2 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.7211, allocations: 29.7 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.7211, allocations: 96.14 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.7212, allocations: 31.55 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.7212, allocations: 0.8438 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.7213, allocations: 326.8 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.7214, allocations: 29.61 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.7216, allocations: 70.25 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.7217, allocations: 48.19 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.7217, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003574/0.7221, allocations: 136.7 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7221, allocations: 7.953 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.7221, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.7222, allocations: 0.6875 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.7224, allocations: 20.98 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.7224, allocations: 7.938 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.7226, allocations: 20.8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.7226, allocations: 8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001058/0.7227, allocations: 123.1 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.7228, allocations: 8.562 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.7233, allocations: 183.8 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.7233, allocations: 0 / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7233, allocations: 0 / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.7234, allocations: 92.84 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.7234, allocations: 0 / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.7236, allocations: 17.58 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.7236, allocations: 11.98 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005125/0.7242, allocations: 243.1 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004475/0.7246, allocations: 337.3 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001666/0.7248, allocations: 53.97 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.204e-05/0.7249, allocations: 104.6 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of Backend: time 8.81e-07/0.7249, allocations: 4 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008634/0.7258, allocations: 190.1 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0006183/0.7264, allocations: 0.6725 MB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of Templates: time 0.00605/0.7325, allocations: 1.773 MB / 1.47 GB, free: 275.3 MB / 0.8542 GB