Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.561/2.561, allocations: 285 MB / 292.5 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 184.9 kB / 360.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001023, allocations: 96.88 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.777e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8293/0.8294, allocations: 115.3 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.243/1.072, allocations: 139.3 MB / 1.1 GB, free: 1.137 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/1.073, allocations: 87.94 kB / 1.1 GB, free: 1.051 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01511/1.088, allocations: 3.13 MB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/1.088, allocations: 4.656 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.088, allocations: 0 / 1.103 GB, free: 13.96 MB / 0.7136 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.0007977/1.089, allocations: 464.7 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.089, allocations: 10.34 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/1.089, allocations: 8.5 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/1.089, allocations: 171.9 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.089, allocations: 4.797 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/1.089, allocations: 8 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00014/1.089, allocations: 24.53 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/1.09, allocations: 66.31 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.09, allocations: 0 / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/1.09, allocations: 0.5625 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.09, allocations: 1.062 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007964/1.09, allocations: 312.1 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/1.091, allocations: 54.66 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.441e-05/1.091, allocations: 35.08 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/1.091, allocations: 0 / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/1.091, allocations: 89.11 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/1.091, allocations: 4 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003848/1.091, allocations: 109.5 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/1.091, allocations: 51.41 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/1.092, allocations: 118.5 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/1.092, allocations: 25.7 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/1.092, allocations: 100.2 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/1.092, allocations: 18.25 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/1.092, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.092, allocations: 326.8 kB / 1.105 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/1.092, allocations: 24 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/1.092, allocations: 57.14 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.619e-05/1.092, allocations: 27.92 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.092, allocations: 4 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002684/1.093, allocations: 105.4 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.093, allocations: 8 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.093, allocations: 3.984 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/1.093, allocations: 4 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/1.093, allocations: 23.92 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.093, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/1.093, allocations: 12.12 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/1.093, allocations: 7.984 kB / 1.105 GB, free: 11.52 MB / 0.7136 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 0.0001091/1.093, allocations: 114.1 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/1.093, allocations: 7.906 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003974/1.094, allocations: 131 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/1.094, allocations: 6.938 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.094, allocations: 0 / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.094, allocations: 0 / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007669/1.094, allocations: 393.3 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.094, allocations: 0 / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/1.095, allocations: 11.98 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.095, allocations: 4 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/1.095, allocations: 0 / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.095, allocations: 0.5625 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.095, allocations: 7.984 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/1.095, allocations: 211.3 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/1.095, allocations: 85.02 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/1.095, allocations: 3.984 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/1.095, allocations: 8 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/1.095, allocations: 19.53 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/1.095, allocations: 8 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.625e-05/1.096, allocations: 95.03 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.096, allocations: 0 / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004977/1.096, allocations: 55.92 kB / 1.106 GB, free: 10.3 MB / 0.7136 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 (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.0005075/1.097, allocations: 169.6 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000256/1.097, allocations: 71.86 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.097, allocations: 0 / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/1.097, allocations: 41.36 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/1.097, allocations: 7.984 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/1.098, allocations: 118.8 kB / 1.106 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/1.098, allocations: 0.7043 MB / 1.107 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.916e-05/1.098, allocations: 8.422 kB / 1.107 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/1.098, allocations: 13.22 kB / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/1.098, allocations: 0 / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of Templates: time 0.006852/1.105, allocations: 1.779 MB / 1.109 GB, free: 7.406 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)