Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001418/0.001418, allocations: 192.9 kB / 326.5 MB, free: 2.238 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.795/1.795, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009057/0.0009059, allocations: 96.25 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 9.656 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1982, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.3663, allocations: 133.9 MB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.3666, allocations: 83.95 kB / 1.031 GB, free: 9.68 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.009986/0.3766, allocations: 3.171 MB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3766, allocations: 0 / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.3767, allocations: 4 kB / 1.034 GB, free: 6.496 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.0007455/0.3774, allocations: 478.4 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3775, allocations: 8.031 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.371e-05/0.3775, allocations: 30.56 kB / 1.035 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.3776, allocations: 19.84 kB / 1.035 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.3777, allocations: 182.9 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/0.3778, allocations: 29.7 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3779, allocations: 11.98 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.3781, allocations: 73.64 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3781, allocations: 4 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3781, allocations: 4 kB / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3781, allocations: 0 / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.3784, allocations: 55.89 kB / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.379, allocations: 340.7 kB / 1.035 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.3793, allocations: 66.55 kB / 1.035 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3793, allocations: 4 kB / 1.035 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.3796, allocations: 103.5 kB / 1.035 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.335e-06/0.3796, allocations: 0 / 1.035 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004893/0.3801, allocations: 165.7 kB / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.3802, allocations: 71.38 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3803, allocations: 120.5 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.3803, allocations: 37.64 kB / 1.036 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.3804, allocations: 96.27 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.3804, allocations: 15.72 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-06/0.3804, allocations: 8 kB / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3806, allocations: 318.8 kB / 1.036 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.3807, allocations: 35.98 kB / 1.036 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3808, allocations: 69.06 kB / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.381, allocations: 47.97 kB / 1.036 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.381, allocations: 0 / 1.036 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003107/0.3813, allocations: 133.4 kB / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3813, allocations: 4 kB / 1.037 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3813, allocations: 4.125 kB / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3814, allocations: 4 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3815, allocations: 15.98 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.3815, allocations: 11.89 kB / 1.037 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3816, allocations: 15.98 kB / 1.037 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3817, allocations: 8 kB / 1.037 GB, free: 3.691 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 0.000109/0.3818, allocations: 123.7 kB / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.3818, allocations: 11.84 kB / 1.037 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.3818, allocations: 16.72 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3819, allocations: 0 / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3819, allocations: 4 kB / 1.037 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3819, allocations: 3.953 kB / 1.037 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.3825, allocations: 442.2 kB / 1.037 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3826, allocations: 0 / 1.037 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/0.3826, allocations: 12.08 kB / 1.037 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.3827, allocations: 3.984 kB / 1.037 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3827, allocations: 7.953 kB / 1.037 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3827, allocations: 0 / 1.037 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3827, allocations: 0 / 1.037 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.3831, allocations: 239.4 kB / 1.037 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.3831, allocations: 85.02 kB / 1.037 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.3832, allocations: 0 / 1.037 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.3833, allocations: 19.94 kB / 1.037 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.3834, allocations: 11.98 kB / 1.038 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.3834, allocations: 7.984 kB / 1.038 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.059e-05/0.3835, allocations: 101.8 kB / 1.038 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3835, allocations: 0 / 1.038 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000356/0.3838, allocations: 51.94 kB / 1.038 GB, free: 2.477 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 (10): * Single equations (assignments): 7 * 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.0009864/0.3848, allocations: 0.8291 MB / 1.038 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.3852, allocations: 104 kB / 1.039 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3852, allocations: 3.938 kB / 1.039 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.3853, allocations: 51.91 kB / 1.039 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.3855, allocations: 13.45 kB / 1.039 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.3868, allocations: 1.221 MB / 1.04 GB, free: 184 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.3871, allocations: 0.7082 MB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.203e-05/0.3872, allocations: 4.672 kB / 1.041 GB, free: 15.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.3873, allocations: 27.42 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.3873, allocations: 0 / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.4021, allocations: 2.893 MB / 1.043 GB, free: 12.69 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.4024, allocations: 242.6 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/1.957, allocations: 2.812 kB / 1.044 GB, free: 12.44 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)