Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001122/0.001122, allocations: 107.6 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.001094/0.001094, allocations: 188.7 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.474/1.474, 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.642/1.642, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001352/0.001352, allocations: 71.91 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2029, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002553/0.2055, allocations: 1.574 MB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2066, allocations: 0.7878 MB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.2067, allocations: 0 / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.2067, allocations: 7.922 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.5e-05/0.2068, allocations: 11.86 kB / 0.7858 GB, free: 11.51 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.0004562/0.2073, allocations: 111.8 kB / 0.7859 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.2074, allocations: 87.7 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.943e-05/0.2075, allocations: 8 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.156e-05/0.2076, allocations: 43.89 kB / 0.7861 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.2076, allocations: 35.84 kB / 0.7861 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.2077, allocations: 8 kB / 0.7861 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.2078, allocations: 95.84 kB / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.2079, allocations: 23.91 kB / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.2079, allocations: 31.86 kB / 0.7863 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.2081, allocations: 116 kB / 0.7864 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2081, allocations: 0 / 0.7864 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2081, allocations: 4 kB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.2081, 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.0006435/0.2088, allocations: 458.6 kB / 0.7868 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2088, allocations: 8.031 kB / 0.7868 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.2088, allocations: 8.844 kB / 0.7868 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.209, allocations: 179.4 kB / 0.787 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.209, allocations: 4.375 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.209, allocations: 8.375 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.2092, allocations: 85.89 kB / 0.7871 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2092, allocations: 0 / 0.7871 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2092, allocations: 0 / 0.7871 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2092, allocations: 4 kB / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.2094, allocations: 35.97 kB / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.2098, allocations: 328.6 kB / 0.7874 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.21, allocations: 58.56 kB / 0.7875 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.159e-05/0.2101, allocations: 36.84 kB / 0.7875 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.2101, allocations: 3.984 kB / 0.7875 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.2103, allocations: 95.53 kB / 0.7876 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.2103, allocations: 4 kB / 0.7876 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003588/0.2107, allocations: 153.5 kB / 0.7878 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2107, allocations: 55.41 kB / 0.7878 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2108, allocations: 133.7 kB / 0.788 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.2109, allocations: 29.7 kB / 0.788 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.2109, allocations: 92.36 kB / 0.7881 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.2109, allocations: 19.72 kB / 0.7881 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.211, allocations: 37.7 kB / 0.7881 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2111, allocations: 322.8 kB / 0.7884 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.2112, allocations: 27.98 kB / 0.7885 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-05/0.2113, allocations: 69.12 kB / 0.7885 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.2115, allocations: 101 kB / 0.7886 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2115, allocations: 3.984 kB / 0.7886 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002267/0.2117, allocations: 129.5 kB / 0.7887 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2117, allocations: 8.5 kB / 0.7888 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2117, allocations: 0 / 0.7888 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2118, allocations: 4 kB / 0.7888 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2119, allocations: 19.98 kB / 0.7888 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2119, allocations: 7.875 kB / 0.7888 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.212, allocations: 15.92 kB / 0.7888 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.212, allocations: 4 kB / 0.7888 GB, free: 8.184 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 8.432e-05/0.2121, allocations: 132.2 kB / 0.7889 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.2121, allocations: 7.906 kB / 0.7889 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.2124, allocations: 153.9 kB / 0.7891 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2124, allocations: 0 / 0.7891 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2125, allocations: 4 kB / 0.7891 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2125, allocations: 0 / 0.7891 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.213, allocations: 422.4 kB / 0.7895 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.213, allocations: 4 kB / 0.7895 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.593e-05/0.2131, allocations: 19.92 kB / 0.7895 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2131, allocations: 0 / 0.7895 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2131, allocations: 4 kB / 0.7895 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2131, allocations: 0 / 0.7895 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2131, allocations: 3.938 kB / 0.7895 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.2134, allocations: 223.3 kB / 0.7897 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.2134, allocations: 92.95 kB / 0.7898 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.2134, allocations: 4 kB / 0.7898 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2136, allocations: 11.98 kB / 0.7898 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.2136, allocations: 11.92 kB / 0.7899 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.2136, allocations: 11.98 kB / 0.7899 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.2137, allocations: 102.6 kB / 0.79 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2137, allocations: 0 / 0.79 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002917/0.214, allocations: 40 kB / 0.79 GB, free: 6.859 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.0003041/0.2143, allocations: 164.4 kB / 0.7902 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.2145, allocations: 88.14 kB / 0.7902 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2146, allocations: 0 / 0.7902 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.2147, allocations: 51.84 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.0002726/0.2149, allocations: 16.25 kB / 0.7903 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.2154, allocations: 261.2 kB / 0.7906 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.2156, allocations: 0.704 MB / 0.7912 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.2157, allocations: 11.44 kB / 0.7913 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2157, allocations: 0 / 0.7913 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of Templates: time 0.003237/0.2189, allocations: 1.828 MB / 0.793 GB, free: 3.703 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)