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.001071/0.001071, allocations: 100.1 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.001065/0.001065, allocations: 177.3 kB / 15.95 MB, free: 216 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.664/1.664, 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 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005642/0.0005645, allocations: 10.78 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2804, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002085/0.2825, allocations: 1.2 MB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.2839, allocations: 0.7416 MB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.284, allocations: 0 / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.284, allocations: 7.922 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.2841, allocations: 15.98 kB / 0.789 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.2846, allocations: 99.62 kB / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.2847, allocations: 47.94 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2849, allocations: 15.97 kB / 0.7892 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.16e-05/0.285, allocations: 35.8 kB / 0.7892 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.285, allocations: 31.89 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.2851, allocations: 8 kB / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.2852, allocations: 71.88 kB / 0.7893 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.2853, allocations: 15.97 kB / 0.7893 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.2853, allocations: 33.64 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.2855, allocations: 104 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2855, allocations: 3.938 kB / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2855, allocations: 0 / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2855, allocations: 0 / 0.7895 GB, free: 9.527 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.0007277/0.2863, allocations: 450.5 kB / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2863, allocations: 8.031 kB / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.2864, allocations: 7.906 kB / 0.7899 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.2865, allocations: 186.8 kB / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.2866, allocations: 0 / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.2866, allocations: 8 kB / 0.7901 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.2868, allocations: 77.58 kB / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2868, allocations: 0 / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.2868, allocations: 8 kB / 0.7902 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2869, allocations: 0 / 0.7902 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.287, allocations: 39.97 kB / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.2876, allocations: 324.7 kB / 0.7905 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.2878, allocations: 66.55 kB / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.2878, allocations: 0 / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.288, allocations: 99.39 kB / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.2881, allocations: 0 / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003969/0.2885, allocations: 165.4 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.2885, allocations: 59.55 kB / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2886, allocations: 137.4 kB / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2887, allocations: 33.7 kB / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.2887, allocations: 92.38 kB / 0.7912 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.2888, allocations: 19.7 kB / 0.7912 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/0.2888, allocations: 8 kB / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2889, allocations: 318.8 kB / 0.7915 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.309e-05/0.289, allocations: 27.98 kB / 0.7915 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/0.2891, allocations: 69.14 kB / 0.7916 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.92e-05/0.2892, allocations: 35.92 kB / 0.7916 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2892, allocations: 3.938 kB / 0.7916 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002247/0.2894, allocations: 141.5 kB / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2894, allocations: 4 kB / 0.7918 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2894, allocations: 0 / 0.7918 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2895, allocations: 4 kB / 0.7918 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2896, allocations: 15.98 kB / 0.7918 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2896, allocations: 0 / 0.7918 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2897, allocations: 23.88 kB / 0.7918 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.2897, allocations: 8.094 kB / 0.7918 GB, free: 6.891 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 0.0001001/0.2898, allocations: 125.8 kB / 0.7919 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.2899, allocations: 7.906 kB / 0.7919 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.2902, allocations: 146 kB / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2902, allocations: 4 kB / 0.7921 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2902, allocations: 0 / 0.7921 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2902, allocations: 3.984 kB / 0.7921 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.2908, allocations: 446.3 kB / 0.7925 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2908, allocations: 0 / 0.7925 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.2909, allocations: 11.98 kB / 0.7925 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2909, allocations: 3.938 kB / 0.7925 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2909, allocations: 8 kB / 0.7925 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2909, allocations: 0 / 0.7925 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.2909, allocations: 7.953 kB / 0.7925 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.2912, allocations: 227.3 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.2912, allocations: 92.95 kB / 0.7928 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.2913, allocations: 0 / 0.7928 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2914, allocations: 15.98 kB / 0.7929 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.2914, allocations: 15.94 kB / 0.7929 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2915, allocations: 4.375 kB / 0.7929 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.554e-05/0.2915, allocations: 95.27 kB / 0.793 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2915, allocations: 0 / 0.793 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002858/0.2918, allocations: 43.98 kB / 0.793 GB, free: 5.551 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.0003314/0.2922, allocations: 172.2 kB / 0.7932 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.2924, allocations: 87.83 kB / 0.7933 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2924, allocations: 0 / 0.7933 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.2925, allocations: 52.17 kB / 0.7933 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.2927, allocations: 15.98 kB / 0.7933 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.2932, allocations: 227 kB / 0.7935 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.2935, allocations: 0.7004 MB / 0.7942 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.547e-05/0.2935, allocations: 8.609 kB / 0.7942 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.2936, allocations: 19.42 kB / 0.7943 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2936, allocations: 0 / 0.7943 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of Templates: time 0.004326/0.2979, allocations: 1.613 MB / 0.7958 GB, free: 2.629 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: