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.00143/0.00143, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.00153/0.00153, allocations: 191.5 kB / 16.25 MB, free: 6.629 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.631/1.631, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.719/1.719, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001428/0.001428, allocations: 66.53 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2816, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003334/0.285, allocations: 1.574 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2865, allocations: 0.78 MB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.2866, allocations: 7.938 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.91e-05/0.2867, allocations: 7.922 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.2868, allocations: 7.922 kB / 0.7852 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.0006523/0.2874, allocations: 111.8 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.2876, allocations: 87.7 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.2877, allocations: 8 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.2879, allocations: 43.83 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.288, allocations: 35.84 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.288, allocations: 8 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.2882, allocations: 99.84 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.2882, allocations: 19.92 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.2883, allocations: 39.84 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.2886, allocations: 151.8 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2886, allocations: 0 / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2886, allocations: 0 / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.2886, allocations: 0 / 0.7858 GB, free: 10.92 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.000804/0.2894, allocations: 454.6 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2895, allocations: 12.03 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.2895, allocations: 12.83 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.2897, allocations: 180.2 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2897, allocations: 8.375 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.2897, allocations: 4.375 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.29, allocations: 77.95 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.29, allocations: 0 / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.29, allocations: 0 / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.29, allocations: 4 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.2901, allocations: 43.97 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.2907, allocations: 316.7 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.2909, allocations: 66.53 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.66e-05/0.291, allocations: 36.84 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.291, allocations: 4 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.2913, allocations: 103.3 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.2913, allocations: 0 / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003976/0.2917, allocations: 153.5 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.2917, allocations: 55.41 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.2919, allocations: 133.7 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.2919, allocations: 29.7 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.292, allocations: 92.36 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.292, allocations: 23.66 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.2921, allocations: 33.7 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2922, allocations: 322.8 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.2923, allocations: 27.98 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.2924, allocations: 69.12 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.2926, allocations: 97.02 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.2926, allocations: 4 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002472/0.2928, allocations: 133.4 kB / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2929, allocations: 4 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2929, allocations: 0 / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2929, allocations: 4.094 kB / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.293, allocations: 15.98 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.293, allocations: 3.938 kB / 0.7882 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2931, allocations: 24.03 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.2932, allocations: 4 kB / 0.7882 GB, free: 8.145 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 0.0001349/0.2933, allocations: 125.8 kB / 0.7883 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.2933, allocations: 7.891 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.2937, allocations: 157.8 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2937, allocations: 0 / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2937, allocations: 0 / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2937, allocations: 4 kB / 0.7885 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.2943, allocations: 422.5 kB / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2943, allocations: 0 / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.006e-05/0.2943, allocations: 15.92 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.2944, allocations: 0 / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2944, allocations: 4 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2944, allocations: 384 / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2944, allocations: 3.938 kB / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.2947, allocations: 227.3 kB / 0.7891 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.2947, allocations: 88.95 kB / 0.7892 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.2948, allocations: 7.938 kB / 0.7892 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.2949, allocations: 11.98 kB / 0.7892 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.295, allocations: 15.92 kB / 0.7892 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.295, allocations: 4 kB / 0.7892 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.295, allocations: 106.3 kB / 0.7893 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.295, allocations: 0 / 0.7893 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003262/0.2954, allocations: 43.98 kB / 0.7894 GB, free: 6.82 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.0003472/0.2957, allocations: 158 kB / 0.7895 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.296, allocations: 91.83 kB / 0.7896 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.296, allocations: 0 / 0.7896 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.956e-05/0.2961, allocations: 43.92 kB / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.2964, allocations: 19.98 kB / 0.7897 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.2969, allocations: 231.8 kB / 0.7899 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.2972, allocations: 0.7001 MB / 0.7906 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.355e-05/0.2972, allocations: 12.61 kB / 0.7906 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.2973, allocations: 19.42 kB / 0.7906 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2973, allocations: 0 / 0.7906 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of Templates: time 0.004776/0.3021, allocations: 1.722 MB / 0.7923 GB, free: 3.797 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)