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.0008526/0.0008527, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005207/0.005206, allocations: 174.6 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.56/1.56, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0008694/0.0008694, allocations: 17.31 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3059, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.00188/0.3079, allocations: 1.254 MB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3092, allocations: 0.7607 MB / 0.79 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.3093, allocations: 4 kB / 0.79 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.3093, allocations: 7.922 kB / 0.79 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.194e-05/0.3094, allocations: 11.88 kB / 0.79 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.3099, allocations: 111.8 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.31, allocations: 95.69 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.104e-05/0.3101, allocations: 8 kB / 0.7902 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.3102, allocations: 43.84 kB / 0.7902 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.3103, allocations: 47.77 kB / 0.7903 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3103, allocations: 4 kB / 0.7903 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.3105, allocations: 83.91 kB / 0.7904 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.3106, allocations: 15.97 kB / 0.7904 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.3106, allocations: 65.48 kB / 0.7904 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.3109, allocations: 163.7 kB / 0.7906 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3109, allocations: 0 / 0.7906 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3109, allocations: 0 / 0.7906 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3109, allocations: 0 / 0.7906 GB, free: 8.793 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.0006665/0.3116, allocations: 484.4 kB / 0.7911 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3116, allocations: 12.03 kB / 0.7911 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.3116, allocations: 34.75 kB / 0.7911 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.3117, allocations: 12.75 kB / 0.7911 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3118, allocations: 180.2 kB / 0.7913 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3118, allocations: 384 / 0.7913 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3119, allocations: 8.375 kB / 0.7913 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.312, allocations: 93.64 kB / 0.7914 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.3121, allocations: 4 kB / 0.7914 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3121, allocations: 0 / 0.7914 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3121, allocations: 0 / 0.7914 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.3123, allocations: 55.97 kB / 0.7914 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.3128, allocations: 340.7 kB / 0.7918 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.313, allocations: 82.67 kB / 0.7919 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.382e-05/0.3131, allocations: 40.84 kB / 0.7919 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3131, allocations: 4 kB / 0.7919 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.3134, allocations: 115.2 kB / 0.792 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.3134, allocations: 0 / 0.792 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004234/0.3138, allocations: 177.5 kB / 0.7922 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.3138, allocations: 55.41 kB / 0.7922 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.314, allocations: 130.1 kB / 0.7923 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.314, allocations: 29.7 kB / 0.7924 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.314, allocations: 92.14 kB / 0.7925 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.3141, allocations: 31.62 kB / 0.7925 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.3141, allocations: 17.72 kB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3142, allocations: 322.8 kB / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.3143, allocations: 39.92 kB / 0.7929 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3144, allocations: 80.02 kB / 0.7929 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.3146, allocations: 113 kB / 0.793 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3147, allocations: 4 kB / 0.793 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002609/0.3149, allocations: 141.3 kB / 0.7932 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3149, allocations: 4 kB / 0.7932 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.315, allocations: 4 kB / 0.7932 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.315, allocations: 4.094 kB / 0.7932 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3151, allocations: 23.92 kB / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.3151, allocations: 0 / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3152, allocations: 23.92 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3153, allocations: 4 kB / 0.7932 GB, free: 5.801 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.07e-05/0.3154, allocations: 121.8 kB / 0.7934 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.3154, allocations: 11.91 kB / 0.7934 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.3157, allocations: 166.3 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3157, allocations: 4 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3157, allocations: 0 / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3158, allocations: 3.984 kB / 0.7935 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.3164, allocations: 462.2 kB / 0.794 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3164, allocations: 4 kB / 0.794 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.988e-05/0.3164, allocations: 15.92 kB / 0.794 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3165, allocations: 0 / 0.794 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3165, allocations: 8 kB / 0.794 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3165, allocations: 3.938 kB / 0.794 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3165, allocations: 0 / 0.794 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.3168, allocations: 250.7 kB / 0.7942 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.3169, allocations: 89 kB / 0.7943 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.3169, allocations: 0 / 0.7943 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.317, allocations: 15.92 kB / 0.7943 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.3171, allocations: 11.98 kB / 0.7944 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3171, allocations: 8 kB / 0.7944 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.878e-05/0.3171, allocations: 99.27 kB / 0.7945 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.185e-06/0.3171, allocations: 0 / 0.7945 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003055/0.3175, allocations: 51.92 kB / 0.7945 GB, free: 4.395 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 (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.0007574/0.3182, allocations: 0.8461 MB / 0.7953 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.3185, allocations: 95.27 kB / 0.7954 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3185, allocations: 4.188 kB / 0.7954 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3186, allocations: 55.92 kB / 0.7955 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.3189, allocations: 23.86 kB / 0.7955 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.3206, allocations: 1.673 MB / 0.7971 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.3208, allocations: 0.6965 MB / 0.7978 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.006e-05/0.3209, allocations: 12.42 kB / 0.7978 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.3209, allocations: 35.42 kB / 0.7979 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.3209, allocations: 0 / 0.7979 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.3535, allocations: 2.933 MB / 0.8007 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.3539, allocations: 253.2 kB / 0.801 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.059, allocations: 4 kB / 0.801 GB, free: 13.77 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/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)