Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.757/1.757, allocations: 251.9 MB / 0.51 GB, free: 4.891 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006866/0.000687, allocations: 16 kB / 0.6241 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6865, allocations: 106.3 MB / 0.728 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00176/0.6884, allocations: 1.207 MB / 0.7291 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.6897, allocations: 0.7567 MB / 0.7299 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.6898, allocations: 0 / 0.7299 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.6898, allocations: 7.922 kB / 0.7299 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.6899, allocations: 15.97 kB / 0.7299 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.6904, allocations: 95.69 kB / 0.73 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.6905, allocations: 47.94 kB / 0.73 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.6906, allocations: 15.98 kB / 0.7301 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.65e-05/0.6907, allocations: 35.86 kB / 0.7301 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.6908, allocations: 43.81 kB / 0.7301 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.6908, allocations: 4 kB / 0.7301 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.691, allocations: 67.86 kB / 0.7302 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.691, allocations: 15.92 kB / 0.7302 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.6911, allocations: 41.64 kB / 0.7303 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.6913, allocations: 105.8 kB / 0.7304 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.6913, allocations: 0 / 0.7304 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6913, allocations: 0 / 0.7304 GB, free: 9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.6913, allocations: 4 kB / 0.7304 GB, free: 8.996 MB / 0.545 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.0008317/0.6921, allocations: 466.3 kB / 0.7308 GB, free: 8.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.6922, allocations: 12.03 kB / 0.7308 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.6923, allocations: 11.91 kB / 0.7308 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.6924, allocations: 178.9 kB / 0.731 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.956e-05/0.6925, allocations: 33.7 kB / 0.731 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.6925, allocations: 11.94 kB / 0.731 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.6928, allocations: 73.64 kB / 0.7311 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6928, allocations: 3.938 kB / 0.7311 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.6928, allocations: 4 kB / 0.7311 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.6928, allocations: 4 kB / 0.7311 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.693, allocations: 51.95 kB / 0.7312 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.6936, allocations: 328.6 kB / 0.7315 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.6938, allocations: 78.58 kB / 0.7316 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.6939, allocations: 4.141 kB / 0.7316 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.6941, allocations: 99.34 kB / 0.7317 GB, free: 7.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.6942, allocations: 0 / 0.7317 GB, free: 7.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005189/0.6947, allocations: 177.4 kB / 0.7318 GB, free: 7.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.6947, allocations: 59.77 kB / 0.7319 GB, free: 7.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6949, allocations: 137.4 kB / 0.732 GB, free: 7.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.6949, allocations: 29.7 kB / 0.732 GB, free: 7.055 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.695, allocations: 88.38 kB / 0.7321 GB, free: 6.965 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.695, allocations: 23.66 kB / 0.7322 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.695, allocations: 8 kB / 0.7322 GB, free: 6.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6951, allocations: 322.8 kB / 0.7325 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.6952, allocations: 35.91 kB / 0.7325 GB, free: 6.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.6954, allocations: 76.38 kB / 0.7326 GB, free: 6.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.6955, allocations: 35.98 kB / 0.7326 GB, free: 6.449 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.6955, allocations: 0 / 0.7326 GB, free: 6.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000298/0.6958, allocations: 137.5 kB / 0.7327 GB, free: 6.309 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6958, allocations: 9.875 kB / 0.7328 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6958, allocations: 0 / 0.7328 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6959, allocations: 4 kB / 0.7328 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.696, allocations: 27.86 kB / 0.7328 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.696, allocations: 0 / 0.7328 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.6961, allocations: 28.02 kB / 0.7328 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.6961, allocations: 4 kB / 0.7328 GB, free: 6.238 MB / 0.545 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 0.0001131/0.6963, allocations: 116.6 kB / 0.7329 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.6963, allocations: 11.91 kB / 0.7329 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.6963, allocations: 12.72 kB / 0.7329 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6963, allocations: 0 / 0.7329 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.6964, allocations: 7.938 kB / 0.733 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6964, allocations: 11.88 kB / 0.733 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006497/0.697, allocations: 430.4 kB / 0.7334 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.697, allocations: 3.984 kB / 0.7334 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.295e-05/0.6971, allocations: 15.98 kB / 0.7334 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6971, allocations: 0 / 0.7334 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.6972, allocations: 11.94 kB / 0.7334 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.6972, allocations: 4 kB / 0.7334 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6972, allocations: 0 / 0.7334 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.6975, allocations: 223.4 kB / 0.7336 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.6976, allocations: 89.05 kB / 0.7337 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.6976, allocations: 11.92 kB / 0.7337 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.6978, allocations: 23.94 kB / 0.7337 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.6978, allocations: 7.984 kB / 0.7337 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.6978, allocations: 4 kB / 0.7338 GB, free: 5.176 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.515e-05/0.6979, allocations: 99.27 kB / 0.7338 GB, free: 5.078 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6979, allocations: 0 / 0.7338 GB, free: 5.078 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003181/0.6982, allocations: 43.98 kB / 0.7339 GB, free: 5.035 MB / 0.545 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 (occ.y,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 (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.0003688/0.6986, allocations: 159.9 kB / 0.734 GB, free: 4.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002827/0.6989, allocations: 88.08 kB / 0.7341 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6989, allocations: 4.062 kB / 0.7341 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.6991, allocations: 51.91 kB / 0.7342 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.6993, allocations: 11.98 kB / 0.7342 GB, free: 4.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.6998, allocations: 242.2 kB / 0.7344 GB, free: 4.469 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.7002, allocations: 0.6926 MB / 0.7351 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.608e-05/0.7003, allocations: 12.66 kB / 0.7351 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.7003, allocations: 11.44 kB / 0.7351 GB, free: 3.727 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.7003, allocations: 4 kB / 0.7351 GB, free: 3.723 MB / 0.545 GB Notification: Performance of Templates: time 0.00477/0.7051, allocations: 1.615 MB / 0.7367 GB, free: 2.113 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) Environment - environmentSimulation: