Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.347/1.347, allocations: 252 MB / 268 MB, free: 10.86 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.0009502/0.0009503, allocations: 175.9 kB / 327.6 MB, free: 2.082 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.898/1.898, allocations: 205.4 MB / 0.5786 GB, free: 20.4 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.0009599/0.0009597, allocations: 92.25 kB / 0.6832 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003891, allocations: 11.41 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2397, allocations: 106.3 MB / 0.9014 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001797/0.2416, allocations: 1.231 MB / 0.9026 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.243, allocations: 0.7914 MB / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.2431, allocations: 0 / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.2432, allocations: 3.984 kB / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.2433, allocations: 19.86 kB / 0.9034 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.2439, allocations: 99.77 kB / 0.9035 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.244, allocations: 87.77 kB / 0.9036 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.2441, allocations: 4 kB / 0.9036 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2442, allocations: 47.77 kB / 0.9037 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.2443, allocations: 31.84 kB / 0.9037 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2443, allocations: 8 kB / 0.9037 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.2445, allocations: 87.91 kB / 0.9038 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.2446, allocations: 11.98 kB / 0.9038 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.2446, allocations: 61.48 kB / 0.9039 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.2448, allocations: 91.83 kB / 0.904 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2448, allocations: 0 / 0.904 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2448, allocations: 0 / 0.904 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2448, allocations: 0 / 0.904 GB, free: 61.22 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006944/0.2455, allocations: 470.7 kB / 0.9044 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2456, allocations: 8.031 kB / 0.9044 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.2456, allocations: 4.938 kB / 0.9044 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.2457, allocations: 188.1 kB / 0.9046 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.2458, allocations: 4.375 kB / 0.9046 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.2458, allocations: 4.375 kB / 0.9046 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.246, allocations: 81.95 kB / 0.9047 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.246, allocations: 7.938 kB / 0.9047 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.246, allocations: 7.922 kB / 0.9047 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.246, allocations: 0 / 0.9047 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.2462, allocations: 47.97 kB / 0.9047 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.2467, allocations: 316.8 kB / 0.905 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.2468, allocations: 66.58 kB / 0.9051 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.2469, allocations: 36.84 kB / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.2469, allocations: 0 / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.2471, allocations: 95.36 kB / 0.9052 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.2472, allocations: 0 / 0.9052 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003686/0.2475, allocations: 165.5 kB / 0.9054 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.2476, allocations: 51.41 kB / 0.9054 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.471e-05/0.2477, allocations: 133.7 kB / 0.9056 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.2477, allocations: 29.7 kB / 0.9056 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.2477, allocations: 100.5 kB / 0.9057 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.2478, allocations: 23.66 kB / 0.9057 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.2478, allocations: 0 / 0.9057 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.2478, allocations: 326.8 kB / 0.906 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.2479, allocations: 31.92 kB / 0.9061 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.248, allocations: 71 kB / 0.9061 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.2482, allocations: 105.1 kB / 0.9062 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2482, allocations: 0 / 0.9062 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002088/0.2484, allocations: 133.4 kB / 0.9063 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2484, allocations: 4 kB / 0.9064 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.2484, allocations: 0 / 0.9064 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2484, allocations: 4 kB / 0.9064 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.2486, allocations: 24.05 kB / 0.9064 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2486, allocations: 384 / 0.9064 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2487, allocations: 23.92 kB / 0.9064 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.2487, allocations: 4 kB / 0.9064 GB, free: 58.44 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 7.828e-05/0.2488, allocations: 124 kB / 0.9065 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.2488, allocations: 11.84 kB / 0.9065 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.2491, allocations: 157.9 kB / 0.9067 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2491, allocations: 4 kB / 0.9067 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2491, allocations: 3.984 kB / 0.9067 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2492, allocations: 0 / 0.9067 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.2496, allocations: 442.2 kB / 0.9071 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2496, allocations: 96 / 0.9071 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.636e-05/0.2497, allocations: 11.98 kB / 0.9071 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.2497, allocations: 3.984 kB / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2497, allocations: 8 kB / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2498, allocations: 0 / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2498, allocations: 7.922 kB / 0.9071 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.25, allocations: 239.3 kB / 0.9074 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.2501, allocations: 85.02 kB / 0.9075 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.2501, allocations: 0 / 0.9075 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.2502, allocations: 15.98 kB / 0.9075 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.2503, allocations: 11.92 kB / 0.9075 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.2503, allocations: 4 kB / 0.9075 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.2503, allocations: 103.3 kB / 0.9076 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2504, allocations: 0 / 0.9076 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003013/0.2507, allocations: 43.98 kB / 0.9076 GB, free: 57.08 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 (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.0003621/0.251, allocations: 154.8 kB / 0.9078 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.2513, allocations: 95.83 kB / 0.9079 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2513, allocations: 3.938 kB / 0.9079 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.2514, allocations: 47.92 kB / 0.9079 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.2517, allocations: 15.98 kB / 0.9079 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.2521, allocations: 274.3 kB / 0.9082 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.2523, allocations: 0.6926 MB / 0.9089 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.2523, allocations: 19.42 kB / 0.9089 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.2523, allocations: 4 kB / 0.9089 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.003453/0.2558, allocations: 1.792 MB / 0.9106 GB, free: 53.95 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)