Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009785/0.0009784, allocations: 173.1 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007883/0.0007882, allocations: 75.94 kB / 0.6829 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003753, allocations: 10.06 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2734, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001957/0.2755, allocations: 1.235 MB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2768, allocations: 0.78 MB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.2768, allocations: 0 / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.2769, allocations: 3.938 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.277, allocations: 7.875 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/0.2775, allocations: 103.8 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.2776, allocations: 91.69 kB / 0.903 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.2778, allocations: 8 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.2779, allocations: 43.84 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.2779, allocations: 47.75 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.278, allocations: 4 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.2781, allocations: 79.91 kB / 0.9032 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.2782, allocations: 19.92 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.013e-05/0.2782, allocations: 41.64 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.2784, allocations: 107.8 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2784, allocations: 4 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2784, allocations: 3.938 kB / 0.9033 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2784, allocations: 0 / 0.9033 GB, free: 61.33 MB / 0.6042 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.000801/0.2792, allocations: 0.4886 MB / 0.9038 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2793, allocations: 8.031 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.2793, allocations: 19.77 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.2795, allocations: 184 kB / 0.904 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.2795, allocations: 3.984 kB / 0.904 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.2795, allocations: 11.94 kB / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.2798, allocations: 77.64 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2798, allocations: 4 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.2798, allocations: 0 / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2798, allocations: 0 / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.28, allocations: 59.91 kB / 0.9042 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.2806, allocations: 340.7 kB / 0.9045 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.2808, allocations: 82.67 kB / 0.9046 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.2809, allocations: 36.84 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.2809, allocations: 8 kB / 0.9046 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.2812, allocations: 103.3 kB / 0.9047 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.2812, allocations: 0 / 0.9047 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004185/0.2816, allocations: 185.4 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.2817, allocations: 55.41 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2818, allocations: 144 kB / 0.9051 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2818, allocations: 29.7 kB / 0.9051 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.2819, allocations: 92.14 kB / 0.9052 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.2819, allocations: 31.62 kB / 0.9052 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.2819, allocations: 12 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.282, allocations: 318.8 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.2821, allocations: 31.98 kB / 0.9056 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.944e-05/0.2822, allocations: 73.06 kB / 0.9056 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.059e-05/0.2823, allocations: 32 kB / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2823, allocations: 0 / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002154/0.2825, allocations: 145.3 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2825, allocations: 11.98 kB / 0.9058 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2825, allocations: 4.094 kB / 0.9058 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.2826, allocations: 4 kB / 0.9058 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.2827, allocations: 19.92 kB / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.2827, allocations: 7.938 kB / 0.9059 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.2828, allocations: 19.92 kB / 0.9059 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.2828, allocations: 4 kB / 0.9059 GB, free: 58.47 MB / 0.6042 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 9.511e-05/0.2829, allocations: 128 kB / 0.906 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.283, allocations: 19.78 kB / 0.906 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.2833, allocations: 181.2 kB / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2833, allocations: 4 kB / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2833, allocations: 0 / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2833, allocations: 0 / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.2839, allocations: 466.4 kB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2839, allocations: 3.984 kB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/0.284, allocations: 12 kB / 0.9067 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.284, allocations: 0 / 0.9067 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.284, allocations: 7.984 kB / 0.9067 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.284, allocations: 0 / 0.9067 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.284, allocations: 4 kB / 0.9067 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.2843, allocations: 255.2 kB / 0.9069 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.2843, allocations: 92.91 kB / 0.907 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.2844, allocations: 0 / 0.907 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.2845, allocations: 15.98 kB / 0.907 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.2845, allocations: 15.98 kB / 0.907 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.2846, allocations: 7.984 kB / 0.907 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.966e-05/0.2846, allocations: 104.8 kB / 0.9071 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2846, allocations: 0 / 0.9071 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003208/0.285, allocations: 47.98 kB / 0.9072 GB, free: 57.04 MB / 0.6042 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 (14): * Single equations (assignments): 11 * 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.0004581/0.2854, allocations: 162.6 kB / 0.9073 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.2857, allocations: 91.89 kB / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2857, allocations: 7.938 kB / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.2858, allocations: 51.98 kB / 0.9075 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2862, allocations: 24.56 kB / 0.9075 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.2867, allocations: 300.3 kB / 0.9078 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.287, allocations: 0.7043 MB / 0.9085 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.287, allocations: 19.44 kB / 0.9085 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.287, allocations: 0 / 0.9085 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.003774/0.2908, allocations: 1.98 MB / 0.9104 GB, free: 53.66 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)