Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.254/2.254, allocations: 251.1 MB / 266.1 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00252/0.00252, allocations: 187.5 kB / 325.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.339/2.339, allocations: 205.4 MB / 0.5766 GB, free: 20.7 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.001171/0.001171, allocations: 102.4 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005091/0.000509, allocations: 12.81 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2121, allocations: 106.2 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2499/0.4621, allocations: 133.8 MB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000407/0.4626, allocations: 83.95 kB / 1.03 GB, free: 11.42 MB / 0.6823 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.03651/0.4991, allocations: 3.183 MB / 1.033 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4992, allocations: 3.938 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.4992, allocations: 0 / 1.033 GB, free: 8.227 MB / 0.6823 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.001209/0.5005, allocations: 462.4 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.5005, allocations: 8.031 kB / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.501e-05/0.5006, allocations: 23.83 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.5009, allocations: 177.7 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.5009, allocations: 7.938 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.501, allocations: 7.938 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.5013, allocations: 73.64 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5013, allocations: 0 / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.5014, allocations: 0 / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.5014, allocations: 4 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.5017, allocations: 47.97 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.5028, allocations: 328.7 kB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.5031, allocations: 70.55 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.5032, allocations: 0 / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/0.5036, allocations: 99.3 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.695e-06/0.5036, allocations: 0 / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0006722/0.5043, allocations: 165.4 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.5044, allocations: 59.41 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.5045, allocations: 113 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.5045, allocations: 25.7 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.5046, allocations: 96.73 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.5047, allocations: 23.86 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.5047, allocations: 0 / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5049, allocations: 326.8 kB / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.505, allocations: 31.92 kB / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.5052, allocations: 65.12 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.5054, allocations: 45.7 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5054, allocations: 0 / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004118/0.5058, allocations: 125.4 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5058, allocations: 4 kB / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5058, allocations: 4.125 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5059, allocations: 4 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.5061, allocations: 19.98 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.5061, allocations: 11.94 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.5063, allocations: 15.94 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.5063, allocations: 4 kB / 1.035 GB, free: 5.582 MB / 0.6823 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 () * 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 0.0001524/0.5065, allocations: 131.5 kB / 1.035 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.5065, allocations: 11.91 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005219/0.5071, allocations: 145.9 kB / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5071, allocations: 0 / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5071, allocations: 0 / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.5071, allocations: 8.031 kB / 1.035 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/0.508, allocations: 434.3 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.508, allocations: 0 / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.5082, allocations: 15.92 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.5082, allocations: 0 / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.5082, allocations: 4 kB / 1.036 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.5083, allocations: 7.938 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5083, allocations: 0 / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.5087, allocations: 227.4 kB / 1.036 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.5088, allocations: 85.02 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.5089, allocations: 7.922 kB / 1.036 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.5091, allocations: 12 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.5092, allocations: 15.94 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.5092, allocations: 7.984 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.434e-05/0.5093, allocations: 102.3 kB / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5093, allocations: 0 / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004677/0.5098, allocations: 51.94 kB / 1.036 GB, free: 4.234 MB / 0.6823 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) * 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 (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.0005051/0.5103, allocations: 177.8 kB / 1.036 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004194/0.5107, allocations: 83.91 kB / 1.037 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5108, allocations: 0 / 1.037 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.511, allocations: 51.84 kB / 1.037 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.5113, allocations: 20.23 kB / 1.037 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006682/0.512, allocations: 221 kB / 1.037 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.5123, allocations: 0.7043 MB / 1.037 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.294e-05/0.5124, allocations: 4.438 kB / 1.037 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.5125, allocations: 15.44 kB / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/0.5125, allocations: 0 / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of Templates: time 0.006957/0.5195, allocations: 1.812 MB / 1.039 GB, free: 1.109 MB / 0.6823 GB