Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 99.08 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.001645/0.001645, 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.778/1.778, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.618/1.618, allocations: 251.9 MB / 0.51 GB, free: 4.867 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.0006003/0.0006003, allocations: 12 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7042/0.7048, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002172/0.7071, allocations: 1.199 MB / 0.7291 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.7084, allocations: 0.7607 MB / 0.7299 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.7085, allocations: 0 / 0.7299 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.7085, allocations: 3.938 kB / 0.7299 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.7086, allocations: 15.95 kB / 0.7299 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.7091, allocations: 87.77 kB / 0.73 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.7093, allocations: 55.86 kB / 0.73 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.7094, allocations: 12 kB / 0.73 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.7095, allocations: 35.89 kB / 0.7301 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.7096, allocations: 35.84 kB / 0.7301 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.7096, allocations: 4 kB / 0.7301 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.7098, allocations: 71.8 kB / 0.7302 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.7098, allocations: 11.98 kB / 0.7302 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.7098, allocations: 41.64 kB / 0.7302 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.71, allocations: 97.78 kB / 0.7303 GB, free: 8.957 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.71, allocations: 0 / 0.7303 GB, free: 8.957 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.71, allocations: 4 kB / 0.7303 GB, free: 8.953 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.7101, allocations: 4 kB / 0.7303 GB, free: 8.949 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.0007838/0.7109, allocations: 454.3 kB / 0.7308 GB, free: 8.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.7109, allocations: 12.03 kB / 0.7308 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.7109, allocations: 4 kB / 0.7308 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.7111, allocations: 186.9 kB / 0.731 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.7112, allocations: 8 kB / 0.731 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.7112, allocations: 7.938 kB / 0.731 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.7114, allocations: 77.59 kB / 0.7311 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.7114, allocations: 3.984 kB / 0.7311 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.7114, allocations: 0 / 0.7311 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.7114, allocations: 0 / 0.7311 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.7116, allocations: 47.97 kB / 0.7311 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.7122, allocations: 328.6 kB / 0.7314 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.7123, allocations: 58.55 kB / 0.7315 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.7124, allocations: 12 kB / 0.7315 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.7126, allocations: 87.45 kB / 0.7316 GB, free: 7.512 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.7127, allocations: 3.938 kB / 0.7316 GB, free: 7.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004519/0.7131, allocations: 161.5 kB / 0.7317 GB, free: 7.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.7132, allocations: 67.3 kB / 0.7318 GB, free: 7.266 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.7133, allocations: 128.7 kB / 0.7319 GB, free: 7.133 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.7133, allocations: 29.7 kB / 0.7319 GB, free: 7.098 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.7134, allocations: 92.38 kB / 0.732 GB, free: 7.004 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.7135, allocations: 27.64 kB / 0.7321 GB, free: 6.977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.7135, allocations: 384 / 0.7321 GB, free: 6.977 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7136, allocations: 318.8 kB / 0.7324 GB, free: 6.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.7137, allocations: 31.97 kB / 0.7324 GB, free: 6.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.7138, allocations: 65.14 kB / 0.7325 GB, free: 6.543 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.352e-05/0.7139, allocations: 39.92 kB / 0.7325 GB, free: 6.504 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7139, allocations: 4 kB / 0.7325 GB, free: 6.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002275/0.7142, allocations: 129.4 kB / 0.7326 GB, free: 6.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7142, allocations: 4 kB / 0.7326 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.7142, allocations: 4 kB / 0.7326 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.7142, allocations: 3.938 kB / 0.7326 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.7144, allocations: 15.98 kB / 0.7326 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.7144, allocations: 12.08 kB / 0.7327 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.7145, allocations: 19.89 kB / 0.7327 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.7145, allocations: 4 kB / 0.7327 GB, free: 6.305 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.000118/0.7146, allocations: 128.5 kB / 0.7328 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.7147, allocations: 7.906 kB / 0.7328 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.715, allocations: 154 kB / 0.733 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.715, allocations: 3.984 kB / 0.733 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.715, allocations: 0 / 0.733 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.715, allocations: 3.953 kB / 0.733 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.7156, allocations: 446.5 kB / 0.7334 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7156, allocations: 0 / 0.7334 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/0.7157, allocations: 8 kB / 0.7334 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7157, allocations: 0 / 0.7334 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.7157, allocations: 7.984 kB / 0.7334 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.7157, allocations: 3.953 kB / 0.7334 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7158, allocations: 7.922 kB / 0.7334 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.7161, allocations: 227.4 kB / 0.7336 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.7162, allocations: 89 kB / 0.7337 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.7162, allocations: 0 / 0.7337 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.7163, allocations: 19.92 kB / 0.7337 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.7164, allocations: 11.94 kB / 0.7337 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.7164, allocations: 8 kB / 0.7338 GB, free: 5.098 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.841e-05/0.7165, allocations: 99.27 kB / 0.7338 GB, free: 5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7165, allocations: 4 kB / 0.7339 GB, free: 4.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003384/0.7168, allocations: 43.98 kB / 0.7339 GB, free: 4.953 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 (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.0003765/0.7172, allocations: 169.8 kB / 0.7341 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.7175, allocations: 87.89 kB / 0.7341 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.7175, allocations: 0 / 0.7341 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.7176, allocations: 43.98 kB / 0.7342 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.7178, allocations: 11.98 kB / 0.7342 GB, free: 4.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.7184, allocations: 235.2 kB / 0.7344 GB, free: 4.398 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.7187, allocations: 0.6965 MB / 0.7351 GB, free: 3.676 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.114e-05/0.7188, allocations: 12.44 kB / 0.7351 GB, free: 3.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.7188, allocations: 15.42 kB / 0.7351 GB, free: 3.648 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.7188, allocations: 0 / 0.7351 GB, free: 3.648 MB / 0.545 GB Notification: Performance of Templates: time 0.004859/0.7237, allocations: 1.62 MB / 0.7367 GB, free: 2.031 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) Environment - environmentSimulation: