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.0009906/0.0009906, 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.0009648/0.0009648, 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.761/1.761, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.752/1.752, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005978/0.0005978, allocations: 23.31 kB / 0.6735 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.29, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001745/0.2918, allocations: 1.216 MB / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.293, allocations: 0.7416 MB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.2931, allocations: 0 / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.2931, allocations: 7.922 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.2932, allocations: 15.97 kB / 0.789 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.2937, allocations: 99.69 kB / 0.7891 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.2938, allocations: 59.86 kB / 0.7892 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2939, allocations: 19.92 kB / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.294, allocations: 39.84 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.2941, allocations: 43.81 kB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2941, allocations: 4 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.2943, allocations: 63.94 kB / 0.7894 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.2943, allocations: 23.91 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.2944, allocations: 41.64 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.2946, allocations: 112 kB / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2946, allocations: 0 / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2946, allocations: 0 / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2946, allocations: 0 / 0.7895 GB, free: 9.477 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.0007659/0.2954, allocations: 492 kB / 0.79 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2954, allocations: 8.031 kB / 0.79 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.2955, allocations: 15.89 kB / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.2956, allocations: 171 kB / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.2957, allocations: 8 kB / 0.7902 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.2957, allocations: 4 kB / 0.7902 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.2959, allocations: 85.58 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2959, allocations: 3.984 kB / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.2959, allocations: 0 / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.296, allocations: 4 kB / 0.7903 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.2961, allocations: 55.95 kB / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005721/0.2967, allocations: 336.7 kB / 0.7907 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.2969, allocations: 86.7 kB / 0.7907 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.297, allocations: 4 kB / 0.7907 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.2972, allocations: 103.3 kB / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.2972, allocations: 0 / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004426/0.2977, allocations: 189.4 kB / 0.791 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.2977, allocations: 51.41 kB / 0.7911 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2979, allocations: 136.9 kB / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.2979, allocations: 29.7 kB / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.298, allocations: 96.03 kB / 0.7913 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.298, allocations: 23.66 kB / 0.7913 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.298, allocations: 8 kB / 0.7914 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2981, allocations: 322.8 kB / 0.7917 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.2982, allocations: 35.92 kB / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.563e-05/0.2983, allocations: 69.12 kB / 0.7918 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.999e-05/0.2984, allocations: 43.92 kB / 0.7918 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2984, allocations: 4 kB / 0.7918 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002411/0.2987, allocations: 133.4 kB / 0.7919 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2987, allocations: 4 kB / 0.7919 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2987, allocations: 4 kB / 0.7919 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2987, allocations: 96 / 0.7919 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.2988, allocations: 19.98 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.2989, allocations: 11.92 kB / 0.792 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.299, allocations: 23.8 kB / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.299, allocations: 4 kB / 0.792 GB, free: 6.691 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.2991, allocations: 125.8 kB / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.2991, allocations: 7.906 kB / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.2995, allocations: 166.3 kB / 0.7923 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2995, allocations: 4 kB / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2995, allocations: 144 / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2995, allocations: 3.984 kB / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.3001, allocations: 462.5 kB / 0.7927 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3001, allocations: 0 / 0.7927 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.3002, allocations: 15.92 kB / 0.7927 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3002, allocations: 4 kB / 0.7928 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3002, allocations: 0 / 0.7928 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.3002, allocations: 3.953 kB / 0.7928 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3003, allocations: 4 kB / 0.7928 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.3006, allocations: 250.7 kB / 0.793 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.3006, allocations: 88.95 kB / 0.7931 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3007, allocations: 4 kB / 0.7931 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.3008, allocations: 11.98 kB / 0.7931 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.3008, allocations: 11.94 kB / 0.7931 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.3009, allocations: 11.98 kB / 0.7931 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.991e-05/0.3009, allocations: 106.2 kB / 0.7932 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3009, allocations: 0 / 0.7932 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003195/0.3013, allocations: 44 kB / 0.7933 GB, free: 5.289 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 (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.000342/0.3016, allocations: 157.3 kB / 0.7934 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.3019, allocations: 95.89 kB / 0.7935 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3019, allocations: 0 / 0.7935 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.302, allocations: 59.84 kB / 0.7936 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.3023, allocations: 15.98 kB / 0.7936 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.3028, allocations: 246.9 kB / 0.7938 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.3031, allocations: 0.7004 MB / 0.7945 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.28e-05/0.3032, allocations: 12.42 kB / 0.7945 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.3032, allocations: 15.44 kB / 0.7945 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3032, allocations: 0 / 0.7945 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of Templates: time 0.0049/0.3081, allocations: 1.77 MB / 0.7963 GB, free: 2.188 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: