Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.253/1.253, 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.0009189/0.0009189, allocations: 178.2 kB / 327.6 MB, free: 2.145 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.388/1.388, allocations: 205.4 MB / 0.5785 GB, free: 20.23 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.0008036/0.0008036, allocations: 88.61 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 12.84 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1641, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.3098, allocations: 134 MB / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.31, allocations: 83.95 kB / 1.032 GB, free: 9.441 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.008757/0.3188, allocations: 3.188 MB / 1.035 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3188, allocations: 0 / 1.035 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3189, allocations: 0 / 1.035 GB, free: 6.246 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.0005545/0.3194, allocations: 478.5 kB / 1.036 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3195, allocations: 8.031 kB / 1.036 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.3195, allocations: 8.844 kB / 1.036 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3196, allocations: 172.2 kB / 1.036 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3196, allocations: 12.38 kB / 1.036 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3197, allocations: 4.375 kB / 1.036 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3198, allocations: 78.14 kB / 1.036 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3199, allocations: 4.188 kB / 1.036 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3199, allocations: 3.938 kB / 1.036 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3199, allocations: 4 kB / 1.036 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.32, allocations: 43.97 kB / 1.036 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.3205, allocations: 332.7 kB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.3207, allocations: 70.48 kB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.3208, allocations: 32.84 kB / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.3208, allocations: 7.938 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.321, allocations: 95.39 kB / 1.037 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.321, allocations: 0 / 1.037 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003607/0.3214, allocations: 165.5 kB / 1.037 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.3214, allocations: 51.41 kB / 1.037 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.3215, allocations: 136.6 kB / 1.037 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3215, allocations: 25.7 kB / 1.037 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.3216, allocations: 100.3 kB / 1.037 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.3216, allocations: 19.95 kB / 1.037 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.3216, allocations: 0 / 1.037 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.3217, allocations: 318.8 kB / 1.037 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/0.3218, allocations: 31.98 kB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.518e-05/0.3219, allocations: 69.12 kB / 1.037 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.3221, allocations: 105 kB / 1.038 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3221, allocations: 4 kB / 1.038 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002241/0.3223, allocations: 141.4 kB / 1.038 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3223, allocations: 4 kB / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3223, allocations: 4 kB / 1.038 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.3224, allocations: 4.125 kB / 1.038 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.996e-05/0.3225, allocations: 15.98 kB / 1.038 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3225, allocations: 7.938 kB / 1.038 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.344e-05/0.3226, allocations: 15.92 kB / 1.038 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3226, allocations: 4 kB / 1.038 GB, free: 3.449 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.65e-05/0.3227, allocations: 132 kB / 1.038 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.3227, allocations: 11.91 kB / 1.038 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.323, allocations: 142 kB / 1.038 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.323, allocations: 7.984 kB / 1.038 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.323, allocations: 0 / 1.038 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3231, allocations: 384 / 1.038 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.3236, allocations: 430.3 kB / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3236, allocations: 0 / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.3237, allocations: 15.92 kB / 1.038 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3237, allocations: 3.938 kB / 1.038 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3237, allocations: 4 kB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3237, allocations: 4 kB / 1.038 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3237, allocations: 0 / 1.038 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.324, allocations: 243.2 kB / 1.039 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.324, allocations: 81.02 kB / 1.039 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3241, allocations: 4 kB / 1.039 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3242, allocations: 15.98 kB / 1.039 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3242, allocations: 11.92 kB / 1.039 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3243, allocations: 12 kB / 1.039 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.434e-05/0.3243, allocations: 99.27 kB / 1.039 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3243, allocations: 0 / 1.039 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002988/0.3246, allocations: 55.92 kB / 1.039 GB, free: 2.098 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.0003353/0.325, allocations: 171 kB / 1.039 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.3252, allocations: 95.86 kB / 1.039 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3252, allocations: 0 / 1.039 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.3253, allocations: 51.91 kB / 1.039 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.3256, allocations: 15.2 kB / 1.039 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.326, allocations: 235 kB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.3263, allocations: 0.6965 MB / 1.04 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.3263, allocations: 8.438 kB / 1.04 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.3264, allocations: 19.42 kB / 1.04 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/0.3264, allocations: 0 / 1.04 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of Templates: time 0.004267/0.3306, allocations: 1.785 MB / 1.042 GB, free: 14.98 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)