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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001174/0.001174, allocations: 193.5 kB / 16.14 MB, free: 6.715 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.146/1.146, allocations: 205.1 MB / 222 MB, free: 4.762 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.486/1.486, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001659/0.001659, allocations: 70.42 kB / 0.6709 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3133, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.00268/0.316, allocations: 1.597 MB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3173, allocations: 0.7956 MB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.3173, allocations: 0 / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.3174, allocations: 3.984 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.088e-05/0.3175, allocations: 11.88 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.318, allocations: 107.8 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.3181, allocations: 95.69 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.3182, allocations: 16 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.602e-05/0.3183, allocations: 39.84 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.325e-05/0.3184, allocations: 47.75 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.3184, allocations: 8 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.3186, allocations: 87.84 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.3186, allocations: 11.98 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.3187, allocations: 47.78 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.3189, allocations: 155.8 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3189, allocations: 0 / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3189, allocations: 0 / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.319, allocations: 4 kB / 0.7857 GB, free: 10.86 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.0007936/0.3198, allocations: 496.2 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3198, allocations: 8.031 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.985e-05/0.3199, allocations: 34.75 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.3199, allocations: 8.844 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.3201, allocations: 184.2 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3201, allocations: 384 / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.3201, allocations: 16.38 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.3203, allocations: 77.77 kB / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3204, allocations: 0 / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3204, allocations: 0 / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3204, allocations: 4 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.3206, allocations: 55.89 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.3211, allocations: 336.7 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.3214, allocations: 82.7 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.3215, allocations: 40.84 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3215, allocations: 0 / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.3217, allocations: 107.3 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.3217, allocations: 0 / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004335/0.3222, allocations: 177.4 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.3222, allocations: 55.41 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.3224, allocations: 134 kB / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3224, allocations: 29.7 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.3224, allocations: 100.1 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.3225, allocations: 31.64 kB / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.3225, allocations: 29.7 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3227, allocations: 326.8 kB / 0.788 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.3228, allocations: 27.98 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3229, allocations: 72.22 kB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.3231, allocations: 113 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3231, allocations: 0 / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002768/0.3234, allocations: 133.4 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3234, allocations: 8.094 kB / 0.7883 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3234, allocations: 3.938 kB / 0.7883 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3234, allocations: 4 kB / 0.7883 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3236, allocations: 15.98 kB / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3236, allocations: 7.984 kB / 0.7883 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3237, allocations: 15.84 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.3237, allocations: 4 kB / 0.7884 GB, free: 7.895 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.878e-05/0.3238, allocations: 136.8 kB / 0.7885 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.3238, allocations: 11.91 kB / 0.7885 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.3242, allocations: 154.3 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3242, allocations: 4 kB / 0.7886 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3242, allocations: 0 / 0.7886 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3242, allocations: 0 / 0.7886 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/0.3249, allocations: 457.5 kB / 0.7891 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3249, allocations: 8 kB / 0.7891 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.325, allocations: 12 kB / 0.7891 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.325, allocations: 3.984 kB / 0.7891 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.325, allocations: 4 kB / 0.7891 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.325, allocations: 7.875 kB / 0.7891 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.325, allocations: 4 kB / 0.7891 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.3253, allocations: 231.4 kB / 0.7893 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.3254, allocations: 89.02 kB / 0.7894 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.3254, allocations: 4 kB / 0.7894 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.3255, allocations: 11.92 kB / 0.7894 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.3256, allocations: 15.92 kB / 0.7895 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3256, allocations: 7.984 kB / 0.7895 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.986e-05/0.3257, allocations: 99.27 kB / 0.7896 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3257, allocations: 0 / 0.7896 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003347/0.326, allocations: 44 kB / 0.7896 GB, free: 6.512 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.0008633/0.3269, allocations: 0.8376 MB / 0.7904 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.3272, allocations: 99.44 kB / 0.7905 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3272, allocations: 4 kB / 0.7905 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.3273, allocations: 47.92 kB / 0.7906 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.3276, allocations: 19.92 kB / 0.7906 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.3295, allocations: 1.665 MB / 0.7922 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.3298, allocations: 0.6965 MB / 0.7929 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.72e-05/0.3299, allocations: 16.42 kB / 0.7929 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.33, allocations: 31.42 kB / 0.7929 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.33, allocations: 0 / 0.7929 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.3505, allocations: 3.031 MB / 0.7959 GB, free: 48 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.3508, allocations: 251.8 kB / 0.7961 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.213, allocations: 4 kB / 0.7961 GB, free: 15.79 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)