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.241/1.241, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009387/0.0009388, allocations: 180.1 kB / 327.6 MB, free: 2.148 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.374/1.374, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.0007657/0.0007658, allocations: 80.33 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 10.06 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1593, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.3004, allocations: 134 MB / 1.032 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.3006, allocations: 83.95 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.008478/0.3091, allocations: 3.192 MB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3091, allocations: 0 / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3092, allocations: 4 kB / 1.035 GB, free: 6.215 MB / 0.6823 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.0005338/0.3097, allocations: 474.5 kB / 1.036 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3097, allocations: 12.03 kB / 1.036 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.3098, allocations: 8.844 kB / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.3099, allocations: 180.2 kB / 1.036 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3099, allocations: 4.359 kB / 1.036 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.31, allocations: 4.375 kB / 1.036 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3101, allocations: 78.16 kB / 1.036 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3102, allocations: 4.188 kB / 1.036 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3102, allocations: 3.938 kB / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3102, allocations: 0 / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3103, allocations: 51.91 kB / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.3108, allocations: 332.7 kB / 1.036 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.311, allocations: 66.5 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.192e-05/0.3111, allocations: 32.84 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3111, allocations: 3.984 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.3113, allocations: 103.5 kB / 1.037 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3113, allocations: 0 / 1.037 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003603/0.3116, allocations: 157.5 kB / 1.037 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.3117, allocations: 55.41 kB / 1.037 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3118, allocations: 131.8 kB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3118, allocations: 29.7 kB / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.3119, allocations: 96.27 kB / 1.037 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.3119, allocations: 15.81 kB / 1.037 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.3119, allocations: 4 kB / 1.037 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.312, allocations: 318.8 kB / 1.037 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.997e-05/0.3121, allocations: 27.98 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.134e-05/0.3122, allocations: 73.06 kB / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3124, allocations: 105 kB / 1.038 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3124, allocations: 0 / 1.038 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002199/0.3126, allocations: 141.3 kB / 1.038 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3126, allocations: 4 kB / 1.038 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3126, allocations: 0 / 1.038 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3127, allocations: 4.125 kB / 1.038 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.963e-05/0.3128, allocations: 20.36 kB / 1.038 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3128, allocations: 7.875 kB / 1.038 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.3129, allocations: 19.92 kB / 1.038 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.3129, allocations: 8 kB / 1.038 GB, free: 3.418 MB / 0.6823 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 8.299e-05/0.313, allocations: 125.7 kB / 1.038 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.313, allocations: 11.91 kB / 1.038 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.3133, allocations: 157.9 kB / 1.038 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3133, allocations: 0 / 1.038 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3133, allocations: 0 / 1.038 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3133, allocations: 4 kB / 1.038 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.3138, allocations: 430.3 kB / 1.038 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3139, allocations: 0 / 1.038 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.3139, allocations: 15.98 kB / 1.038 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3139, allocations: 0 / 1.038 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.314, allocations: 4 kB / 1.038 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.314, allocations: 0 / 1.038 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.314, allocations: 0 / 1.038 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.3142, allocations: 243.3 kB / 1.039 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.3143, allocations: 89 kB / 1.039 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3143, allocations: 4 kB / 1.039 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3144, allocations: 15.92 kB / 1.039 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.3145, allocations: 15.92 kB / 1.039 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3145, allocations: 7.984 kB / 1.039 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.319e-05/0.3146, allocations: 102.3 kB / 1.039 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3146, allocations: 0 / 1.039 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002844/0.3149, allocations: 51.94 kB / 1.039 GB, free: 2.062 MB / 0.6823 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.0003195/0.3152, allocations: 176.3 kB / 1.039 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.3154, allocations: 91.83 kB / 1.039 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3154, allocations: 0 / 1.039 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.825e-05/0.3155, allocations: 55.91 kB / 1.039 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.3158, allocations: 9.031 kB / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.3162, allocations: 231.3 kB / 1.039 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.3164, allocations: 0.6926 MB / 1.04 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.626e-05/0.3165, allocations: 12.44 kB / 1.04 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.3165, allocations: 15.42 kB / 1.04 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/0.3165, allocations: 0 / 1.04 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of Templates: time 0.003917/0.3204, allocations: 1.802 MB / 1.042 GB, free: 14.94 MB / 0.698 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)