Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.00107, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001371/0.001371, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.561/1.561, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.785/1.785, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001409/0.001409, allocations: 69.84 kB / 0.671 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2774, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002991/0.2804, allocations: 1.577 MB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2819, allocations: 0.78 MB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.282, allocations: 0 / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.102e-05/0.2821, allocations: 7.922 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.2822, allocations: 23.8 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.0006429/0.2828, allocations: 115.8 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.283, allocations: 95.7 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.2831, allocations: 12 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.2833, allocations: 47.83 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.2834, allocations: 43.77 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.2834, allocations: 8 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.2836, allocations: 95.91 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.2836, allocations: 23.97 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.2837, allocations: 47.72 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.284, allocations: 159.8 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.284, allocations: 4 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.284, allocations: 0 / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.284, allocations: 0 / 0.7858 GB, free: 10.87 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008234/0.2848, allocations: 496.2 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2849, allocations: 8.031 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.2849, allocations: 8.844 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2851, allocations: 184.2 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.2851, allocations: 4.375 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.2851, allocations: 12.38 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.2854, allocations: 81.89 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2854, allocations: 0 / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.2854, allocations: 0 / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.2854, allocations: 4 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.2856, allocations: 51.95 kB / 0.7866 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.2861, allocations: 336.6 kB / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.2864, allocations: 82.67 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.738e-05/0.2865, allocations: 40.84 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.2865, allocations: 0 / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.2868, allocations: 115.3 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.2868, allocations: 0 / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004276/0.2872, allocations: 173.5 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.2873, allocations: 51.41 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2874, allocations: 133.5 kB / 0.7875 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.2874, allocations: 29.7 kB / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.2875, allocations: 100 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.2875, allocations: 31.58 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.2876, allocations: 29.7 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2877, allocations: 330.7 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.2878, allocations: 31.98 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.2879, allocations: 73.06 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.288, allocations: 105.1 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2881, allocations: 0 / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002344/0.2883, allocations: 141.5 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2883, allocations: 4 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2883, allocations: 0 / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.2884, allocations: 4 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2885, allocations: 19.92 kB / 0.7884 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2885, allocations: 4 kB / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.624e-05/0.2886, allocations: 19.83 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2886, allocations: 4 kB / 0.7884 GB, free: 7.938 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001063/0.2887, allocations: 137.5 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.2888, allocations: 7.906 kB / 0.7885 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.2891, allocations: 156.9 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.2891, allocations: 7.984 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2891, allocations: 0 / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2891, allocations: 0 / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005593/0.2897, allocations: 462.2 kB / 0.7891 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.2897, allocations: 0 / 0.7891 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.2898, allocations: 12 kB / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.2898, allocations: 0 / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.2898, allocations: 7.984 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2898, allocations: 0 / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2898, allocations: 7.938 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.2901, allocations: 239.3 kB / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.2902, allocations: 89.02 kB / 0.7895 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.2902, allocations: 0 / 0.7895 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.2903, allocations: 11.98 kB / 0.7895 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.2904, allocations: 15.92 kB / 0.7895 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.2904, allocations: 4 kB / 0.7895 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.977e-05/0.2905, allocations: 103.2 kB / 0.7896 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2905, allocations: 3.938 kB / 0.7896 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003103/0.2908, allocations: 44 kB / 0.7897 GB, free: 6.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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0003491/0.2911, allocations: 175.2 kB / 0.7898 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.2914, allocations: 91.83 kB / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2914, allocations: 4 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.2915, allocations: 48.16 kB / 0.79 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2918, allocations: 23.98 kB / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.2924, allocations: 255.8 kB / 0.7902 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.2926, allocations: 0.6963 MB / 0.7909 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.095e-05/0.2927, allocations: 8.719 kB / 0.7909 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.2927, allocations: 15.42 kB / 0.7909 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2927, allocations: 0 / 0.7909 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of Templates: time 0.004935/0.2977, allocations: 1.883 MB / 0.7928 GB, free: 3.332 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)