Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.794/4.794, allocations: 0.5623 GB / 0.5776 GB, free: 3.355 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.00248/0.00248, allocations: 357 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.415/4.415, allocations: 410.7 MB / 1.113 GB, free: 5.98 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.001852/0.001852, allocations: 187 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006478/0.0006481, allocations: 12 kB / 1.349 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7954/0.7961, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001728/0.7979, allocations: 1.221 MB / 1.463 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.7993, allocations: 0.7405 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.7994, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.7994, allocations: 7.922 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.532e-05/0.7995, allocations: 11.88 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.8, allocations: 96.59 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.8002, allocations: 71.78 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.8003, allocations: 10.77 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.8004, allocations: 43.78 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.8005, allocations: 39.83 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.8005, allocations: 4 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.8007, allocations: 76.64 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.8008, allocations: 19.95 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.8008, allocations: 42.27 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.801, allocations: 97.94 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.801, allocations: 0.7812 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.633e-06/0.801, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.801, allocations: 1.969 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007969/0.8018, allocations: 469.9 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.8019, allocations: 11.62 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.802, allocations: 11.84 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.8021, allocations: 186.8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.693e-05/0.8022, allocations: 29.7 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.8022, allocations: 11.94 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.8025, allocations: 78.64 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.8025, allocations: 0 / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.8026, allocations: 1.062 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8026, allocations: 0 / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.8029, allocations: 61.75 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.8035, allocations: 327.2 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.8039, allocations: 77.91 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.804, allocations: 32.84 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.8041, allocations: 4 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/0.8044, allocations: 111.1 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 2.355e-06/0.8044, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0006986/0.8051, allocations: 179.6 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.8052, allocations: 51.41 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.8053, allocations: 130.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.8053, allocations: 30.58 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.8054, allocations: 92.52 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.8054, allocations: 24.77 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.8054, allocations: 0 / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.069e-05/0.8055, allocations: 324.5 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.8057, allocations: 31.98 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.8059, allocations: 71.53 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.8061, allocations: 42.92 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.8061, allocations: 3.938 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004386/0.8065, allocations: 147.6 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.8066, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.8066, allocations: 4.656 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.8066, allocations: 0.8906 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.8068, allocations: 20.59 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.8068, allocations: 4.594 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.807, allocations: 20.52 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.807, allocations: 8.625 kB / 1.466 GB, free: 279.1 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.443e-05/0.8071, allocations: 123 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.8072, allocations: 9.031 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.8072, allocations: 16.7 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8072, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8073, allocations: 2.531 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.8073, allocations: 86.14 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.8073, allocations: 8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.8075, allocations: 11.98 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.8076, allocations: 11.97 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006278/0.8082, allocations: 223.4 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004841/0.8087, allocations: 313.8 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001939/0.8089, allocations: 45.12 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.882e-05/0.809, allocations: 102.8 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of Backend: time 6.21e-07/0.809, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008544/0.8099, allocations: 204 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0005284/0.8104, allocations: 0.6531 MB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.00563/0.8161, allocations: 1.71 MB / 1.47 GB, free: 275.7 MB / 0.8542 GB