Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.001406/0.001406, 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.001708/0.001708, allocations: 190.2 kB / 16.13 MB, free: 6.66 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.576/1.576, allocations: 205.1 MB / 222 MB, free: 4.953 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.7/1.7, 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.001375/0.001375, allocations: 69.53 kB / 0.6709 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1988, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002376/0.2012, allocations: 1.574 MB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2023, allocations: 0.7995 MB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.2023, allocations: 0 / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.2024, allocations: 3.938 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.2024, allocations: 11.92 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.2028, allocations: 107.8 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.948e-05/0.2029, allocations: 87.72 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.203, allocations: 4 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.961e-05/0.2031, allocations: 43.83 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.2032, allocations: 35.84 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.2032, allocations: 4 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.2033, allocations: 87.84 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.2034, allocations: 19.91 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.2034, allocations: 35.84 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.2036, allocations: 147.8 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2036, allocations: 0 / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2036, allocations: 0 / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.2036, allocations: 0 / 0.7857 GB, free: 10.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006207/0.2043, allocations: 466.5 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2043, allocations: 8.031 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.2044, allocations: 34.75 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.2044, allocations: 8.844 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2045, allocations: 180.3 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2045, allocations: 4.312 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.2045, allocations: 8.375 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.2047, allocations: 73.77 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2047, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2047, allocations: 4 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.2048, allocations: 4 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.2049, allocations: 35.97 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.2054, allocations: 336.6 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.2055, allocations: 66.48 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.2056, allocations: 32.84 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.2056, allocations: 0 / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.2058, allocations: 103.3 kB / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.2058, allocations: 0 / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003683/0.2062, allocations: 161.5 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2062, allocations: 51.41 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.181e-05/0.2063, allocations: 125.8 kB / 0.7873 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.2063, allocations: 29.7 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.2064, allocations: 92.38 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.2064, allocations: 31.78 kB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.2065, allocations: 33.7 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2066, allocations: 322.8 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.475e-05/0.2067, allocations: 23.97 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-05/0.2068, allocations: 72.39 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.2069, allocations: 101 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.207, allocations: 0 / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002271/0.2072, allocations: 129.4 kB / 0.7881 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2072, allocations: 7.984 kB / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2072, allocations: 4 kB / 0.7881 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.2072, allocations: 0 / 0.7881 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.2073, allocations: 15.98 kB / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2074, allocations: 4 kB / 0.7881 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2075, allocations: 15.84 kB / 0.7881 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.2075, allocations: 7.984 kB / 0.7881 GB, free: 8.129 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 8.007e-05/0.2076, allocations: 133.8 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.2076, allocations: 4 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.2079, allocations: 149.8 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2079, allocations: 4.312 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2079, allocations: 0 / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2079, allocations: 4.078 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.2084, allocations: 426.4 kB / 0.7888 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2085, allocations: 3.938 kB / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.2085, allocations: 11.94 kB / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2085, allocations: 0 / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.2086, allocations: 7.984 kB / 0.7889 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2086, allocations: 3.938 kB / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2086, allocations: 0 / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.2088, allocations: 227.4 kB / 0.7891 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.2089, allocations: 85 kB / 0.7892 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.2089, allocations: 4 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.209, allocations: 15.92 kB / 0.7892 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.2091, allocations: 11.98 kB / 0.7892 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.2091, allocations: 4 kB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.445e-05/0.2092, allocations: 103.3 kB / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2092, allocations: 0 / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002869/0.2095, allocations: 47.98 kB / 0.7893 GB, free: 6.801 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 (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 (12): * Single equations (assignments): 9 * 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.000706/0.2102, allocations: 0.8052 MB / 0.7901 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.2104, allocations: 83.89 kB / 0.7902 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2104, allocations: 0 / 0.7902 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.2105, allocations: 55.84 kB / 0.7903 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.2108, allocations: 23.78 kB / 0.7903 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.2124, allocations: 1.618 MB / 0.7919 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.2126, allocations: 0.6926 MB / 0.7925 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.2127, allocations: 16.42 kB / 0.7926 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.2127, allocations: 27.42 kB / 0.7926 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2127, allocations: 0 / 0.7926 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.2253, allocations: 2.823 MB / 0.7953 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.2255, allocations: 251.7 kB / 0.7956 GB, free: 392 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/1.859, allocations: 0 / 0.7956 GB, free: 392 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)