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.0009074/0.0009075, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.001142/0.001142, allocations: 176.7 kB / 15.95 MB, free: 192 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.424/1.424, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.613/1.613, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005025/0.0005025, allocations: 14.41 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2238, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001617/0.2255, allocations: 1.212 MB / 0.7885 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2266, allocations: 0.7455 MB / 0.7892 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.2267, allocations: 0 / 0.7892 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.2267, allocations: 3.938 kB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.549e-05/0.2268, allocations: 7.922 kB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.2272, allocations: 99.77 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2273, allocations: 83.69 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.704e-05/0.2274, allocations: 8 kB / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.2275, allocations: 27.86 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.2276, allocations: 39.88 kB / 0.7894 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2276, allocations: 4 kB / 0.7895 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.2277, allocations: 87.84 kB / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.2278, allocations: 15.92 kB / 0.7896 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.2278, allocations: 37.7 kB / 0.7896 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.228, allocations: 108 kB / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.228, allocations: 0 / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.228, allocations: 0 / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.228, allocations: 0 / 0.7897 GB, free: 9.449 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.0006204/0.2286, allocations: 450.5 kB / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2287, allocations: 12.03 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.2287, allocations: 7.906 kB / 0.7901 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.2288, allocations: 178.8 kB / 0.7903 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2289, allocations: 7.984 kB / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.2289, allocations: 8 kB / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.2291, allocations: 69.59 kB / 0.7904 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2291, allocations: 0 / 0.7904 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2291, allocations: 4 kB / 0.7904 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2291, allocations: 4 kB / 0.7904 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.2292, allocations: 47.91 kB / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.2298, allocations: 324.7 kB / 0.7908 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.2299, allocations: 66.55 kB / 0.7908 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.393e-05/0.23, allocations: 37 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.23, allocations: 3.984 kB / 0.7909 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.2302, allocations: 95.39 kB / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.2303, allocations: 4 kB / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003675/0.2306, allocations: 161.5 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.2307, allocations: 59.36 kB / 0.7912 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2308, allocations: 129.7 kB / 0.7913 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2308, allocations: 29.7 kB / 0.7913 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.2309, allocations: 92.38 kB / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.2309, allocations: 19.72 kB / 0.7914 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.2309, allocations: 4 kB / 0.7914 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.231, allocations: 318.8 kB / 0.7917 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.2311, allocations: 31.92 kB / 0.7918 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.584e-05/0.2312, allocations: 69.06 kB / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.2313, allocations: 39.98 kB / 0.7919 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2313, allocations: 0 / 0.7919 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002195/0.2315, allocations: 133.9 kB / 0.792 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2315, allocations: 7.984 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2316, allocations: 4 kB / 0.792 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2316, allocations: 0 / 0.792 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.2317, allocations: 23.86 kB / 0.792 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2317, allocations: 4 kB / 0.792 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.2318, allocations: 19.89 kB / 0.792 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.2318, allocations: 11.97 kB / 0.7921 GB, free: 6.77 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 ($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 8.492e-05/0.2319, allocations: 122.7 kB / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.2319, allocations: 15.89 kB / 0.7922 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.2322, allocations: 141.9 kB / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2322, allocations: 4 kB / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.2323, allocations: 0 / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2323, allocations: 3.938 kB / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.2328, allocations: 442.3 kB / 0.7928 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2328, allocations: 0 / 0.7928 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.2329, allocations: 12 kB / 0.7928 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2329, allocations: 0 / 0.7928 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.2329, allocations: 7.984 kB / 0.7928 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2329, allocations: 7.953 kB / 0.7928 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2329, allocations: 0 / 0.7928 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.2332, allocations: 231.5 kB / 0.793 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.2332, allocations: 92.94 kB / 0.7931 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.2333, allocations: 3.938 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2334, allocations: 19.98 kB / 0.7931 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.2334, allocations: 11.94 kB / 0.7931 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.2334, allocations: 4 kB / 0.7931 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.2335, allocations: 102.6 kB / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2335, allocations: 0 / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002963/0.2338, allocations: 43.98 kB / 0.7933 GB, free: 5.426 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 (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.0003228/0.2341, allocations: 158.8 kB / 0.7934 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.2344, allocations: 83.84 kB / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2344, allocations: 0 / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.2345, allocations: 48.27 kB / 0.7935 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.2348, allocations: 24.2 kB / 0.7936 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.2352, allocations: 231 kB / 0.7938 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.2354, allocations: 0.6965 MB / 0.7945 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.67e-05/0.2354, allocations: 8.609 kB / 0.7945 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.2355, allocations: 15.44 kB / 0.7945 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of SimCode: time 1.312e-06/0.2355, allocations: 0 / 0.7945 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of Templates: time 0.00376/0.2393, allocations: 1.628 MB / 0.7961 GB, free: 2.504 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: