Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008154/0.0008208, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009155/0.0009156, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005427/0.0005428, allocations: 16.38 kB / 0.6738 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3124, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002129/0.3147, allocations: 1.231 MB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3161, allocations: 0.7338 MB / 0.7893 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.3162, allocations: 0 / 0.7893 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.3162, allocations: 7.922 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.3163, allocations: 11.88 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.3169, allocations: 103.7 kB / 0.7894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.317, allocations: 87.7 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3171, allocations: 12 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.728e-05/0.3172, allocations: 43.83 kB / 0.7896 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.3173, allocations: 39.83 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3173, allocations: 4 kB / 0.7896 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.3175, allocations: 79.92 kB / 0.7897 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.3176, allocations: 19.91 kB / 0.7897 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.3176, allocations: 45.58 kB / 0.7898 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.3179, allocations: 112 kB / 0.7899 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.3179, allocations: 0 / 0.7899 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3179, allocations: 4 kB / 0.7899 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.3179, allocations: 0 / 0.7899 GB, free: 9.309 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009191/0.3188, allocations: 484.2 kB / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.3189, allocations: 8.031 kB / 0.7903 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/0.3189, allocations: 38.55 kB / 0.7904 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.319, allocations: 11.81 kB / 0.7904 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.3192, allocations: 179 kB / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.3192, allocations: 11.94 kB / 0.7906 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.3193, allocations: 4 kB / 0.7906 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.3195, allocations: 85.58 kB / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3195, allocations: 0 / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3196, allocations: 7.969 kB / 0.7907 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.3196, allocations: 4 kB / 0.7907 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.3198, allocations: 51.97 kB / 0.7907 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.3205, allocations: 336.6 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.3208, allocations: 86.66 kB / 0.7911 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.674e-05/0.3209, allocations: 40.84 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.3209, allocations: 4 kB / 0.7912 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.3212, allocations: 103.3 kB / 0.7913 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.684e-06/0.3212, allocations: 0 / 0.7913 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004847/0.3217, allocations: 181.5 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.3218, allocations: 55.36 kB / 0.7915 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3219, allocations: 132.9 kB / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.322, allocations: 33.7 kB / 0.7916 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.083e-05/0.3221, allocations: 104 kB / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.3221, allocations: 23.66 kB / 0.7918 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.3221, allocations: 8 kB / 0.7918 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3223, allocations: 318.8 kB / 0.7921 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.619e-05/0.3224, allocations: 31.98 kB / 0.7921 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.3226, allocations: 73.06 kB / 0.7922 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.955e-05/0.3227, allocations: 39.98 kB / 0.7922 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.3227, allocations: 4 kB / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002739/0.323, allocations: 137.4 kB / 0.7923 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.323, allocations: 4 kB / 0.7923 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.323, allocations: 8.094 kB / 0.7924 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3231, allocations: 0 / 0.7924 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3232, allocations: 19.92 kB / 0.7924 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3232, allocations: 7.953 kB / 0.7924 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3233, allocations: 23.83 kB / 0.7924 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.3233, allocations: 8 kB / 0.7924 GB, free: 6.43 MB / 0.6075 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000141/0.3235, allocations: 121.8 kB / 0.7925 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.3235, allocations: 7.906 kB / 0.7925 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.3239, allocations: 160.8 kB / 0.7927 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3239, allocations: 8.078 kB / 0.7927 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3239, allocations: 0 / 0.7927 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.3239, allocations: 11.92 kB / 0.7927 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006885/0.3246, allocations: 462.3 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3246, allocations: 0 / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.29e-05/0.3247, allocations: 19.98 kB / 0.7932 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3247, allocations: 0 / 0.7932 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3247, allocations: 3.953 kB / 0.7932 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3247, allocations: 0 / 0.7932 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3248, allocations: 0 / 0.7932 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.3251, allocations: 247.4 kB / 0.7934 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.3252, allocations: 89 kB / 0.7935 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.3252, allocations: 7.938 kB / 0.7935 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3253, allocations: 15.94 kB / 0.7935 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.3254, allocations: 19.92 kB / 0.7935 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.3254, allocations: 4 kB / 0.7935 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001069/0.3256, allocations: 97.52 kB / 0.7936 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3256, allocations: 4 kB / 0.7936 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003556/0.3259, allocations: 47.98 kB / 0.7937 GB, free: 5.023 MB / 0.6075 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0009988/0.3269, allocations: 0.8302 MB / 0.7945 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.3272, allocations: 103.2 kB / 0.7946 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3272, allocations: 4.062 kB / 0.7946 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3273, allocations: 51.98 kB / 0.7946 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3277, allocations: 23.88 kB / 0.7947 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3289, allocations: 0.7086 MB / 0.7954 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.3293, allocations: 0.7004 MB / 0.796 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.348e-05/0.3294, allocations: 8.719 kB / 0.7961 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.3295, allocations: 35.42 kB / 0.7961 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.3295, allocations: 0 / 0.7961 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.3445, allocations: 2.929 MB / 0.7989 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.3448, allocations: 232.9 kB / 0.7992 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.254, allocations: 0 / 0.7992 GB, free: 15.45 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) Environment - environmentSimulation: