Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001066/0.001066, allocations: 109.2 kB / 15.99 MB, free: 6.352 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.001084/0.001084, allocations: 194.1 kB / 16.91 MB, free: 6.188 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.435/1.435, allocations: 205.1 MB / 222.8 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.3 MB / 0.5492 GB, free: 13.63 MB / 462.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.001345/0.001345, allocations: 65.2 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1999, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002565/0.2025, allocations: 1.569 MB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2037, allocations: 0.7955 MB / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.2038, allocations: 0 / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.2038, allocations: 3.938 kB / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.2039, allocations: 7.922 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 NFTyping.typeClassSections: time 0.0004554/0.2044, allocations: 107.8 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2045, allocations: 83.72 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.2046, allocations: 19.97 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.146e-05/0.2047, allocations: 35.86 kB / 0.7861 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.2048, allocations: 43.81 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.2048, allocations: 8 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.205, allocations: 95.84 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.205, allocations: 19.92 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.205, allocations: 35.86 kB / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.2052, allocations: 108 kB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2052, allocations: 8 kB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2052, allocations: 0 / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.2052, allocations: 0 / 0.7864 GB, free: 10.95 MB / 0.6075 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.0006862/0.2059, allocations: 454.6 kB / 0.7868 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.206, allocations: 8.031 kB / 0.7868 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.206, allocations: 8.844 kB / 0.7868 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2061, allocations: 187.6 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2062, allocations: 384 / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.2062, allocations: 8.375 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.2064, allocations: 81.89 kB / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2064, allocations: 0 / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2064, allocations: 0 / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2064, allocations: 4 kB / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.2065, allocations: 43.91 kB / 0.7871 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.207, allocations: 324.6 kB / 0.7874 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.2072, allocations: 66.55 kB / 0.7875 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.2073, allocations: 32.84 kB / 0.7875 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.2073, allocations: 0 / 0.7875 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.2075, allocations: 95.39 kB / 0.7876 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.2075, allocations: 0 / 0.7876 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003673/0.2079, allocations: 157.5 kB / 0.7878 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.208, allocations: 59.41 kB / 0.7878 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/0.2081, allocations: 129.7 kB / 0.788 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.2081, allocations: 29.7 kB / 0.788 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.2082, allocations: 92.31 kB / 0.7881 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.2082, allocations: 23.7 kB / 0.7881 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.2083, allocations: 33.7 kB / 0.7881 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2084, allocations: 326.8 kB / 0.7884 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.2085, allocations: 27.98 kB / 0.7885 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-05/0.2086, allocations: 61.14 kB / 0.7885 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2088, allocations: 113 kB / 0.7886 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2088, allocations: 0 / 0.7886 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002228/0.209, allocations: 129.5 kB / 0.7888 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.209, allocations: 8.031 kB / 0.7888 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.209, allocations: 4 kB / 0.7888 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2091, allocations: 0 / 0.7888 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.2092, allocations: 15.98 kB / 0.7888 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2092, allocations: 0 / 0.7888 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.2093, allocations: 19.92 kB / 0.7888 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2093, allocations: 4 kB / 0.7888 GB, free: 8.18 MB / 0.6075 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 9.895e-05/0.2094, allocations: 130.8 kB / 0.7889 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.2094, allocations: 7.906 kB / 0.7889 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.2097, allocations: 145.9 kB / 0.7891 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2098, allocations: 0 / 0.7891 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2098, allocations: 3.938 kB / 0.7891 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2098, allocations: 7.984 kB / 0.7891 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.2103, allocations: 430.4 kB / 0.7895 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2103, allocations: 0 / 0.7895 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.2104, allocations: 15.92 kB / 0.7895 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.2104, allocations: 4 kB / 0.7895 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2104, allocations: 0 / 0.7895 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2104, allocations: 0 / 0.7895 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2104, allocations: 3.938 kB / 0.7895 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.2107, allocations: 231.6 kB / 0.7897 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.2108, allocations: 88.95 kB / 0.7898 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.2108, allocations: 4 kB / 0.7898 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.211, allocations: 11.98 kB / 0.7898 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.211, allocations: 11.92 kB / 0.7899 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.211, allocations: 4 kB / 0.7899 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.674e-05/0.2111, allocations: 103 kB / 0.79 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2111, allocations: 0 / 0.79 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003083/0.2114, allocations: 43.98 kB / 0.79 GB, free: 6.855 MB / 0.6075 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.0003309/0.2118, allocations: 167.9 kB / 0.7902 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.212, allocations: 79.89 kB / 0.7902 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.212, allocations: 0 / 0.7902 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.2121, allocations: 52.17 kB / 0.7903 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.2124, allocations: 23.91 kB / 0.7903 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.2129, allocations: 257.2 kB / 0.7906 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.2132, allocations: 0.7002 MB / 0.7912 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.2133, allocations: 15.44 kB / 0.7913 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2133, allocations: 0 / 0.7913 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of Templates: time 0.00367/0.2169, allocations: 1.829 MB / 0.793 GB, free: 3.695 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)