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.926/1.926, allocations: 252 MB / 267.3 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.001923/0.001923, allocations: 176.4 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.585/2.585, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.001063/0.001063, allocations: 91.75 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005281/0.0005282, allocations: 13.44 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3692, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002487/0.3718, allocations: 1.23 MB / 0.9021 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.3736, allocations: 0.7992 MB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.3737, allocations: 0 / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.3738, allocations: 3.938 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.3739, allocations: 19.84 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.3745, allocations: 103.8 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.3747, allocations: 83.75 kB / 0.9031 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3749, allocations: 12 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.375, allocations: 35.84 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3751, allocations: 35.83 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.3751, allocations: 4 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.3754, allocations: 91.84 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.3754, allocations: 23.92 kB / 0.9033 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.3755, allocations: 57.5 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.3758, allocations: 143.6 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3758, allocations: 3.938 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3758, allocations: 0 / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3758, allocations: 0 / 0.9035 GB, free: 60.7 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.0009661/0.3768, allocations: 466.9 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.3769, allocations: 8.031 kB / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.377, allocations: 42.69 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.377, allocations: 12.84 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.3772, allocations: 180.2 kB / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.3773, allocations: 34.27 kB / 0.9042 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.3773, allocations: 8.375 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.3776, allocations: 85.58 kB / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3776, allocations: 3.938 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3777, allocations: 0 / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3777, allocations: 3.984 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.378, allocations: 55.89 kB / 0.9044 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006572/0.3786, allocations: 328.6 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.3789, allocations: 78.56 kB / 0.9047 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3791, allocations: 32.84 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.3791, allocations: 8 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.3795, allocations: 99.5 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.973e-06/0.3795, allocations: 0 / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0006475/0.3801, allocations: 177.5 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.3802, allocations: 55.77 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3803, allocations: 137.1 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3804, allocations: 25.7 kB / 0.9053 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.3804, allocations: 92.38 kB / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.3805, allocations: 27.64 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.3805, allocations: 0 / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.3806, allocations: 334.7 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3807, allocations: 27.98 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.3809, allocations: 73.12 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.3813, allocations: 109 kB / 0.9059 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3813, allocations: 4 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003908/0.3817, allocations: 137.4 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3817, allocations: 4 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3817, allocations: 4 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3817, allocations: 0 / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.3819, allocations: 19.92 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.382, allocations: 4 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.3821, allocations: 31.95 kB / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.3822, allocations: 4 kB / 0.9061 GB, free: 57.76 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 0.0001293/0.3823, allocations: 128 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.3823, allocations: 7.906 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.3824, allocations: 16.66 kB / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3824, allocations: 0 / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3824, allocations: 4 kB / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3824, allocations: 0 / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007806/0.3832, allocations: 438.2 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3832, allocations: 0 / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.516e-05/0.3833, allocations: 15.98 kB / 0.9067 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3834, allocations: 3.938 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.3834, allocations: 0 / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3834, allocations: 3.938 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3834, allocations: 4.094 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.3838, allocations: 235.4 kB / 0.9069 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.3839, allocations: 89.05 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.3839, allocations: 7.938 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.3841, allocations: 23.92 kB / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/0.3842, allocations: 7.984 kB / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.3842, allocations: 7.984 kB / 0.907 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.623e-05/0.3843, allocations: 99.27 kB / 0.9071 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3843, allocations: 0 / 0.9071 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005249/0.3849, allocations: 44 kB / 0.9072 GB, free: 56.55 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 (10): * Single equations (assignments): 7 * 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.001023/0.3859, allocations: 0.8194 MB / 0.908 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.3863, allocations: 91.88 kB / 0.9081 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3864, allocations: 96 / 0.9081 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.3866, allocations: 60.09 kB / 0.9081 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.387, allocations: 15.94 kB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.3894, allocations: 1.647 MB / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.3896, allocations: 0.6965 MB / 0.9104 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.037e-05/0.3897, allocations: 8.672 kB / 0.9104 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.3898, allocations: 27.42 kB / 0.9105 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.3898, allocations: 0 / 0.9105 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.4096, allocations: 2.74 MB / 0.9131 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.41, allocations: 262.5 kB / 0.9134 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.047, allocations: 4.062 kB / 0.9134 GB, free: 50.1 MB / 0.6042 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)