Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.737/3.737, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.002086/0.002086, allocations: 188.8 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.861/3.861, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.001536/0.001535, allocations: 96.31 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007517/0.0007522, allocations: 10.47 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3171, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.6579, allocations: 133.8 MB / 1.03 GB, free: 11.6 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004738/0.6585, allocations: 87.94 kB / 1.03 GB, free: 11.52 MB / 0.6824 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.02513/0.6836, allocations: 3.192 MB / 1.033 GB, free: 8.316 MB / 0.6824 GB Notification: Performance of FrontEnd: time 4.158e-06/0.6837, allocations: 0 / 1.033 GB, free: 8.316 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 2.118e-05/0.6838, allocations: 4 kB / 1.033 GB, free: 8.312 MB / 0.6824 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.001282/0.6851, allocations: 466.6 kB / 1.034 GB, free: 7.793 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.6852, allocations: 15.97 kB / 1.034 GB, free: 7.777 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.6852, allocations: 8.844 kB / 1.034 GB, free: 7.77 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.6855, allocations: 180.2 kB / 1.034 GB, free: 7.555 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.6856, allocations: 384 / 1.034 GB, free: 7.555 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.6857, allocations: 12.36 kB / 1.034 GB, free: 7.543 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.6862, allocations: 78.2 kB / 1.034 GB, free: 7.461 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.6863, allocations: 192 / 1.034 GB, free: 7.461 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.6863, allocations: 7.938 kB / 1.034 GB, free: 7.453 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.6864, allocations: 0 / 1.034 GB, free: 7.453 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.6868, allocations: 51.84 kB / 1.034 GB, free: 7.402 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.6881, allocations: 328.8 kB / 1.034 GB, free: 7.031 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.6886, allocations: 66.48 kB / 1.034 GB, free: 6.957 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.6888, allocations: 36.84 kB / 1.035 GB, free: 6.918 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.6889, allocations: 4 kB / 1.035 GB, free: 6.914 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004208/0.6893, allocations: 99.3 kB / 1.035 GB, free: 6.805 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=10): time 4.108e-06/0.6893, allocations: 0 / 1.035 GB, free: 6.805 MB / 0.6824 GB Notification: Performance of matching and sorting (n=10): time 0.0009709/0.6903, allocations: 157.5 kB / 1.035 GB, free: 6.645 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.6905, allocations: 59.41 kB / 1.035 GB, free: 6.574 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.6907, allocations: 129.8 kB / 1.035 GB, free: 6.438 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.6908, allocations: 29.7 kB / 1.035 GB, free: 6.402 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.6909, allocations: 88.38 kB / 1.035 GB, free: 6.309 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/0.6909, allocations: 19.7 kB / 1.035 GB, free: 6.289 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.691, allocations: 8 kB / 1.035 GB, free: 6.281 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6912, allocations: 314.8 kB / 1.035 GB, free: 5.965 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.6914, allocations: 23.98 kB / 1.035 GB, free: 5.941 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.6917, allocations: 79.44 kB / 1.035 GB, free: 5.848 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.6919, allocations: 35.92 kB / 1.036 GB, free: 5.812 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.6919, allocations: 4 kB / 1.036 GB, free: 5.809 MB / 0.6824 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006441/0.6926, allocations: 133.4 kB / 1.036 GB, free: 5.672 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.6927, allocations: 7.984 kB / 1.036 GB, free: 5.664 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.6927, allocations: 4 kB / 1.036 GB, free: 5.66 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.6927, allocations: 0 / 1.036 GB, free: 5.66 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.693, allocations: 15.98 kB / 1.036 GB, free: 5.645 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.6931, allocations: 12.06 kB / 1.036 GB, free: 5.633 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.6933, allocations: 11.94 kB / 1.036 GB, free: 5.621 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.6934, allocations: 11.92 kB / 1.036 GB, free: 5.609 MB / 0.6824 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,lig.occ,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.6936, allocations: 125.8 kB / 1.036 GB, free: 5.477 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.6937, allocations: 4.281 kB / 1.036 GB, free: 5.473 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008604/0.6946, allocations: 153.9 kB / 1.036 GB, free: 5.316 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.6947, allocations: 4 kB / 1.036 GB, free: 5.312 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.6947, allocations: 4 kB / 1.036 GB, free: 5.309 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6947, allocations: 3.938 kB / 1.036 GB, free: 5.305 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.6963, allocations: 442.4 kB / 1.036 GB, free: 4.816 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.6963, allocations: 96 / 1.036 GB, free: 4.816 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.6966, allocations: 8 kB / 1.036 GB, free: 4.809 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.6966, allocations: 3.984 kB / 1.036 GB, free: 4.805 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.6966, allocations: 7.984 kB / 1.036 GB, free: 4.797 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.6967, allocations: 4 kB / 1.036 GB, free: 4.793 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6967, allocations: 0 / 1.036 GB, free: 4.793 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008107/0.6975, allocations: 231.3 kB / 1.037 GB, free: 4.551 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 9.534e-05/0.6976, allocations: 85 kB / 1.037 GB, free: 4.449 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.6977, allocations: 4 kB / 1.037 GB, free: 4.445 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.6981, allocations: 15.98 kB / 1.037 GB, free: 4.43 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-05/0.6982, allocations: 15.86 kB / 1.037 GB, free: 4.414 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.6982, allocations: 4 kB / 1.037 GB, free: 4.41 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001357/0.6984, allocations: 95.27 kB / 1.037 GB, free: 4.316 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6.81e-07/0.6984, allocations: 4 kB / 1.037 GB, free: 4.312 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0008249/0.6993, allocations: 59.92 kB / 1.037 GB, free: 4.254 MB / 0.6824 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 (lig.occ,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 (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.00072/0.7, allocations: 164.8 kB / 1.037 GB, free: 4.098 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0006187/0.7007, allocations: 91.83 kB / 1.037 GB, free: 4.008 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7007, allocations: 0 / 1.037 GB, free: 4.008 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.701, allocations: 51.92 kB / 1.037 GB, free: 3.957 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.7017, allocations: 21.98 kB / 1.037 GB, free: 3.938 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.7028, allocations: 231.3 kB / 1.037 GB, free: 3.68 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.7033, allocations: 0.6926 MB / 1.038 GB, free: 2.961 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.7035, allocations: 16.42 kB / 1.038 GB, free: 2.945 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.073e-05/0.7036, allocations: 11.44 kB / 1.038 GB, free: 2.934 MB / 0.6824 GB Notification: Performance of SimCode: time 1.964e-06/0.7036, allocations: 0 / 1.038 GB, free: 2.934 MB / 0.6824 GB Notification: Performance of Templates: time 0.0109/0.7145, allocations: 1.807 MB / 1.04 GB, free: 1.129 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)