Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.649/1.649, allocations: 285.6 MB / 293.1 MB, free: 10.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 180.9 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009218/0.000922, allocations: 91.36 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.873e-05, allocations: 4 kB / 0.8517 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.691/0.691, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.8793, allocations: 139.6 MB / 1.101 GB, free: 240 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.8797, allocations: 80.89 kB / 1.101 GB, free: 160 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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 FrontEnd - DAE generated: time 0.01027/0.89, allocations: 3.293 MB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.904e-06/0.89, allocations: 0.7188 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.89, allocations: 0.5312 kB / 1.104 GB, free: 12.93 MB / 0.7136 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.0006626/0.8907, allocations: 0.4909 MB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.8907, allocations: 8.031 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.8908, allocations: 16.53 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.891, allocations: 184.4 kB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.891, allocations: 0.5312 kB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.891, allocations: 9.703 kB / 1.105 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000131/0.8912, allocations: 39.98 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.8913, allocations: 65.66 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.8913, allocations: 0 / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.8913, allocations: 3.531 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.8914, allocations: 0 / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.8919, allocations: 317.2 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.8921, allocations: 69.19 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.8921, allocations: 28.86 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.8922, allocations: 4.141 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.8923, allocations: 106.3 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.8923, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003052/0.8926, allocations: 123.4 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.8927, allocations: 51.41 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.8928, allocations: 128.5 kB / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.8928, allocations: 29.7 kB / 1.106 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.8929, allocations: 96.03 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.8929, allocations: 27.66 kB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/0.8929, allocations: 0 / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.893, allocations: 322.8 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-05/0.8931, allocations: 23.98 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.8931, allocations: 57.86 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.8932, allocations: 31.92 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.8932, allocations: 11.92 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001686/0.8934, allocations: 109.5 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.8934, allocations: 4.781 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.8934, allocations: 4 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.8934, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.8936, allocations: 19.92 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.8936, allocations: 7.953 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.924e-05/0.8937, allocations: 19.98 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.8937, allocations: 4 kB / 1.106 GB, free: 10.34 MB / 0.7136 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 () * 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 7.211e-05/0.8938, allocations: 112.9 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.8938, allocations: 11.91 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.8941, allocations: 147.6 kB / 1.107 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8941, allocations: 0 / 1.107 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.8941, allocations: 0 / 1.107 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.8941, allocations: 11.94 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.8946, allocations: 420.8 kB / 1.107 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8946, allocations: 6.422 kB / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.8947, allocations: 12 kB / 1.107 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.8947, allocations: 4 kB / 1.107 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.8948, allocations: 4.734 kB / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8948, allocations: 0 / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.8948, allocations: 7.953 kB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.895, allocations: 231.4 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.8951, allocations: 88.92 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.8951, allocations: 0 / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.8952, allocations: 11.98 kB / 1.107 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.8953, allocations: 11.94 kB / 1.107 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.8953, allocations: 10.98 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.874e-05/0.8954, allocations: 107.3 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8954, allocations: 0 / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003219/0.8957, allocations: 51.94 kB / 1.108 GB, free: 9.023 MB / 0.7136 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) * 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.0003393/0.8961, allocations: 169.1 kB / 1.108 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.8962, allocations: 83.86 kB / 1.108 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8962, allocations: 1.219 kB / 1.108 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.85e-05/0.8963, allocations: 48.86 kB / 1.108 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.8966, allocations: 12.27 kB / 1.108 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.8969, allocations: 138.9 kB / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.8972, allocations: 0.7081 MB / 1.109 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.785e-05/0.8973, allocations: 20.47 kB / 1.109 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.8973, allocations: 11.44 kB / 1.109 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.8973, allocations: 4 kB / 1.109 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of Templates: time 0.004671/0.902, allocations: 1.95 MB / 1.111 GB, free: 5.902 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)