Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000762/0.000762, allocations: 91.14 kB / 15.36 MB, free: 0.7344 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.004775/0.004775, allocations: 169 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.541/1.541, allocations: 252 MB / 0.5105 GB, free: 4.598 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.0005974/0.0005977, allocations: 16 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4889, allocations: 106.3 MB / 0.7287 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001757/0.4907, allocations: 1.227 MB / 0.7299 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.4923, allocations: 0.803 MB / 0.7307 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.4924, allocations: 0 / 0.7307 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.64e-05/0.4924, allocations: 3.938 kB / 0.7307 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.4926, allocations: 11.92 kB / 0.7307 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.4932, allocations: 99.77 kB / 0.7308 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.4933, allocations: 83.75 kB / 0.7309 GB, free: 8.977 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.744e-05/0.4934, allocations: 8 kB / 0.7309 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.4935, allocations: 43.8 kB / 0.7309 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.908e-05/0.4936, allocations: 43.81 kB / 0.731 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.4936, allocations: 4 kB / 0.731 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.4938, allocations: 87.84 kB / 0.7311 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.4939, allocations: 11.98 kB / 0.7311 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.494, allocations: 53.5 kB / 0.7311 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.4942, allocations: 141.6 kB / 0.7313 GB, free: 8.586 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4942, allocations: 0 / 0.7313 GB, free: 8.586 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.674e-06/0.4942, allocations: 0 / 0.7313 GB, free: 8.586 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.4942, allocations: 4 kB / 0.7313 GB, free: 8.582 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.0007135/0.495, allocations: 458.6 kB / 0.7317 GB, free: 8.074 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.495, allocations: 12.03 kB / 0.7317 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.4951, allocations: 8.844 kB / 0.7317 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.4953, allocations: 180.2 kB / 0.7319 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.4953, allocations: 8.297 kB / 0.7319 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.4953, allocations: 12.38 kB / 0.7319 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.4955, allocations: 73.97 kB / 0.732 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4956, allocations: 0 / 0.732 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4956, allocations: 4 kB / 0.732 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4956, allocations: 0 / 0.732 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.4958, allocations: 51.89 kB / 0.732 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.4963, allocations: 324.7 kB / 0.7323 GB, free: 7.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.4965, allocations: 66.55 kB / 0.7324 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/0.4966, allocations: 32.84 kB / 0.7324 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.4966, allocations: 4 kB / 0.7324 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.4968, allocations: 103.5 kB / 0.7325 GB, free: 7.094 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.4969, allocations: 0 / 0.7325 GB, free: 7.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003878/0.4972, allocations: 165.5 kB / 0.7327 GB, free: 6.926 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.4973, allocations: 59.39 kB / 0.7328 GB, free: 6.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.4974, allocations: 133.2 kB / 0.7329 GB, free: 6.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.4974, allocations: 29.7 kB / 0.7329 GB, free: 6.684 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.4975, allocations: 92.38 kB / 0.733 GB, free: 6.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.4975, allocations: 19.66 kB / 0.733 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.4976, allocations: 25.7 kB / 0.733 GB, free: 6.539 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4977, allocations: 326.8 kB / 0.7334 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.307e-05/0.4978, allocations: 27.98 kB / 0.7334 GB, free: 6.184 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.4979, allocations: 69.12 kB / 0.7335 GB, free: 6.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.498, allocations: 105 kB / 0.7336 GB, free: 5.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4981, allocations: 0 / 0.7336 GB, free: 5.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002389/0.4983, allocations: 133.4 kB / 0.7337 GB, free: 5.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4983, allocations: 8.125 kB / 0.7337 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4983, allocations: 0 / 0.7337 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4983, allocations: 4 kB / 0.7337 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.4985, allocations: 15.98 kB / 0.7337 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4985, allocations: 0 / 0.7337 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.4986, allocations: 19.98 kB / 0.7337 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.4986, allocations: 4 kB / 0.7337 GB, free: 5.789 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.979e-05/0.4987, allocations: 134 kB / 0.7339 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.4987, allocations: 7.906 kB / 0.7339 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.499, allocations: 153.9 kB / 0.734 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.499, allocations: 7.938 kB / 0.734 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4991, allocations: 7.922 kB / 0.734 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4991, allocations: 0 / 0.734 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.4996, allocations: 434.3 kB / 0.7344 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4996, allocations: 0 / 0.7344 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.4997, allocations: 15.92 kB / 0.7345 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4997, allocations: 0 / 0.7345 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4997, allocations: 8 kB / 0.7345 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4997, allocations: 0 / 0.7345 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4997, allocations: 7.938 kB / 0.7345 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.5, allocations: 231.4 kB / 0.7347 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.5001, allocations: 85.02 kB / 0.7348 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.5001, allocations: 0 / 0.7348 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.5002, allocations: 19.98 kB / 0.7348 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.5003, allocations: 11.92 kB / 0.7348 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.5003, allocations: 4 kB / 0.7348 GB, free: 4.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.5004, allocations: 99.27 kB / 0.7349 GB, free: 4.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5004, allocations: 0 / 0.7349 GB, free: 4.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003135/0.5007, allocations: 43.98 kB / 0.7349 GB, free: 4.438 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003082/0.501, allocations: 177.1 kB / 0.7351 GB, free: 4.273 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.5012, allocations: 83.89 kB / 0.7352 GB, free: 4.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5012, allocations: 4 kB / 0.7352 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.5013, allocations: 51.86 kB / 0.7352 GB, free: 4.137 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.5016, allocations: 24.17 kB / 0.7353 GB, free: 4.113 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.502, allocations: 235 kB / 0.7355 GB, free: 3.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.5023, allocations: 0.6965 MB / 0.7362 GB, free: 3.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.389e-05/0.5023, allocations: 8.422 kB / 0.7362 GB, free: 3.121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.5024, allocations: 15.44 kB / 0.7362 GB, free: 3.109 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.5024, allocations: 0 / 0.7362 GB, free: 3.109 MB / 0.545 GB Notification: Performance of Templates: time 0.003954/0.5063, allocations: 1.655 MB / 0.7378 GB, free: 1.461 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) Environment - environmentSimulation: