Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.728/2.728, allocations: 252.6 MB / 265.2 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001517, allocations: 187.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 0.5754 GB, free: 10.5 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 94.59 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.213e-05, allocations: 4 kB / 0.7911 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2098, allocations: 106.2 MB / 0.8949 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8485/1.058, allocations: 133.7 MB / 1.025 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/1.059, allocations: 79.14 kB / 1.025 GB, free: 0.8828 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01507/1.074, allocations: 3.136 MB / 1.029 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.833e-06/1.074, allocations: 0 / 1.029 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.658e-06/1.074, allocations: 8 kB / 1.029 GB, free: 14.18 MB / 0.6511 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.0008282/1.075, allocations: 471.8 kB / 1.029 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.075, allocations: 8.031 kB / 1.029 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/1.075, allocations: 12.73 kB / 1.029 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/1.075, allocations: 171 kB / 1.029 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/1.075, allocations: 40.56 kB / 1.029 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/1.075, allocations: 4 kB / 1.029 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/1.075, allocations: 71.05 kB / 1.029 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.075, allocations: 0 / 1.029 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/1.075, allocations: 3.984 kB / 1.029 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/1.075, allocations: 0 / 1.029 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/1.076, allocations: 28.62 kB / 1.029 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/1.076, allocations: 344.2 kB / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/1.077, allocations: 66.2 kB / 1.03 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/1.077, allocations: 29.84 kB / 1.03 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/1.077, allocations: 4 kB / 1.03 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/1.077, allocations: 85.75 kB / 1.03 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 3.257e-06/1.077, allocations: 0 / 1.03 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003688/1.077, allocations: 118 kB / 1.03 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.077, allocations: 58.59 kB / 1.03 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/1.078, allocations: 119.7 kB / 1.03 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/1.078, allocations: 32.52 kB / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/1.078, allocations: 90.38 kB / 1.03 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/1.078, allocations: 26.89 kB / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/1.078, allocations: 3.5 kB / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.078, allocations: 318 kB / 1.031 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/1.078, allocations: 22.31 kB / 1.031 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/1.078, allocations: 63.41 kB / 1.031 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.914e-05/1.078, allocations: 30.8 kB / 1.031 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.078, allocations: 3.938 kB / 1.031 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002878/1.079, allocations: 118.2 kB / 1.031 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.079, allocations: 4 kB / 1.031 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.079, allocations: 0 / 1.031 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.079, allocations: 7.953 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/1.079, allocations: 24.05 kB / 1.031 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.079, allocations: 7.984 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/1.079, allocations: 23.02 kB / 1.031 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/1.079, allocations: 7.984 kB / 1.031 GB, free: 11.74 MB / 0.6511 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete 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.616e-05/1.079, allocations: 111.2 kB / 1.031 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/1.079, allocations: 7.906 kB / 1.031 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/1.079, allocations: 16 kB / 1.031 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.079, allocations: 0 / 1.031 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/1.079, allocations: 3.953 kB / 1.031 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.079, allocations: 0 / 1.031 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007335/1.08, allocations: 412.4 kB / 1.031 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.08, allocations: 0 / 1.031 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/1.08, allocations: 11.98 kB / 1.031 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.08, allocations: 7.953 kB / 1.031 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/1.08, allocations: 7.859 kB / 1.031 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.08, allocations: 0 / 1.031 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.08, allocations: 0 / 1.031 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/1.081, allocations: 211 kB / 1.032 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/1.081, allocations: 85.02 kB / 1.032 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/1.081, allocations: 3.953 kB / 1.032 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/1.081, allocations: 23.23 kB / 1.032 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/1.081, allocations: 12.06 kB / 1.032 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/1.081, allocations: 7.984 kB / 1.032 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.187e-05/1.081, allocations: 96.92 kB / 1.032 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.081, allocations: 0 / 1.032 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004563/1.082, allocations: 62.48 kB / 1.032 GB, free: 10.67 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004785/1.082, allocations: 173.4 kB / 1.032 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002601/1.083, allocations: 66.05 kB / 1.032 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.083, allocations: 0 / 1.032 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/1.083, allocations: 42.23 kB / 1.032 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/1.083, allocations: 14.88 kB / 1.032 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/1.083, allocations: 132.4 kB / 1.032 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/1.084, allocations: 0.6965 MB / 1.033 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.556e-05/1.084, allocations: 4.672 kB / 1.033 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/1.084, allocations: 22.55 kB / 1.033 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of SimCode: time 8.31e-07/1.084, allocations: 0 / 1.033 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of Templates: time 0.006736/1.091, allocations: 1.801 MB / 1.035 GB, free: 7.758 MB / 0.6511 GB